mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
sctp: fix typo sctp_ulpevent_nofity_peer_addr_change
change typo in function name "nofity" to "notify" sctp_ulpevent_nofity_peer_addr_change -> sctp_ulpevent_notify_peer_addr_change Signed-off-by: Jonas Falkevik <jonas.falkevik@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b3ae2459f8
commit
50ce4c099b
3 changed files with 6 additions and 6 deletions
|
@ -80,7 +80,7 @@ struct sctp_ulpevent *sctp_ulpevent_make_assoc_change(
|
||||||
struct sctp_chunk *chunk,
|
struct sctp_chunk *chunk,
|
||||||
gfp_t gfp);
|
gfp_t gfp);
|
||||||
|
|
||||||
void sctp_ulpevent_nofity_peer_addr_change(struct sctp_transport *transport,
|
void sctp_ulpevent_notify_peer_addr_change(struct sctp_transport *transport,
|
||||||
int state, int error);
|
int state, int error);
|
||||||
|
|
||||||
struct sctp_ulpevent *sctp_ulpevent_make_remote_error(
|
struct sctp_ulpevent *sctp_ulpevent_make_remote_error(
|
||||||
|
|
|
@ -432,7 +432,7 @@ void sctp_assoc_set_primary(struct sctp_association *asoc,
|
||||||
changeover = 1 ;
|
changeover = 1 ;
|
||||||
|
|
||||||
asoc->peer.primary_path = transport;
|
asoc->peer.primary_path = transport;
|
||||||
sctp_ulpevent_nofity_peer_addr_change(transport,
|
sctp_ulpevent_notify_peer_addr_change(transport,
|
||||||
SCTP_ADDR_MADE_PRIM, 0);
|
SCTP_ADDR_MADE_PRIM, 0);
|
||||||
|
|
||||||
/* Set a default msg_name for events. */
|
/* Set a default msg_name for events. */
|
||||||
|
@ -574,7 +574,7 @@ void sctp_assoc_rm_peer(struct sctp_association *asoc,
|
||||||
|
|
||||||
asoc->peer.transport_count--;
|
asoc->peer.transport_count--;
|
||||||
|
|
||||||
sctp_ulpevent_nofity_peer_addr_change(peer, SCTP_ADDR_REMOVED, 0);
|
sctp_ulpevent_notify_peer_addr_change(peer, SCTP_ADDR_REMOVED, 0);
|
||||||
sctp_transport_free(peer);
|
sctp_transport_free(peer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -714,7 +714,7 @@ struct sctp_transport *sctp_assoc_add_peer(struct sctp_association *asoc,
|
||||||
list_add_tail_rcu(&peer->transports, &asoc->peer.transport_addr_list);
|
list_add_tail_rcu(&peer->transports, &asoc->peer.transport_addr_list);
|
||||||
asoc->peer.transport_count++;
|
asoc->peer.transport_count++;
|
||||||
|
|
||||||
sctp_ulpevent_nofity_peer_addr_change(peer, SCTP_ADDR_ADDED, 0);
|
sctp_ulpevent_notify_peer_addr_change(peer, SCTP_ADDR_ADDED, 0);
|
||||||
|
|
||||||
/* If we do not yet have a primary path, set one. */
|
/* If we do not yet have a primary path, set one. */
|
||||||
if (!asoc->peer.primary_path) {
|
if (!asoc->peer.primary_path) {
|
||||||
|
@ -840,7 +840,7 @@ void sctp_assoc_control_transport(struct sctp_association *asoc,
|
||||||
* to the user.
|
* to the user.
|
||||||
*/
|
*/
|
||||||
if (ulp_notify)
|
if (ulp_notify)
|
||||||
sctp_ulpevent_nofity_peer_addr_change(transport,
|
sctp_ulpevent_notify_peer_addr_change(transport,
|
||||||
spc_state, error);
|
spc_state, error);
|
||||||
|
|
||||||
/* Select new active and retran paths. */
|
/* Select new active and retran paths. */
|
||||||
|
|
|
@ -336,7 +336,7 @@ fail:
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void sctp_ulpevent_nofity_peer_addr_change(struct sctp_transport *transport,
|
void sctp_ulpevent_notify_peer_addr_change(struct sctp_transport *transport,
|
||||||
int state, int error)
|
int state, int error)
|
||||||
{
|
{
|
||||||
struct sctp_association *asoc = transport->asoc;
|
struct sctp_association *asoc = transport->asoc;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue