]> git.baikalelectronics.ru Git - kernel.git/commitdiff
sctp: fix typo sctp_ulpevent_nofity_peer_addr_change
authorJonas Falkevik <jonas.falkevik@gmail.com>
Wed, 27 May 2020 09:59:43 +0000 (11:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2020 22:08:02 +0000 (15:08 -0700)
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>
include/net/sctp/ulpevent.h
net/sctp/associola.c
net/sctp/ulpevent.c

index 0b032b92da0bf0876eb5165255fc1cab2b1bd4c7..994e984eef324c3fb288ff622014b6ad3988ccaf 100644 (file)
@@ -80,7 +80,7 @@ struct sctp_ulpevent *sctp_ulpevent_make_assoc_change(
        struct sctp_chunk *chunk,
        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);
 
 struct sctp_ulpevent *sctp_ulpevent_make_remote_error(
index 437079a4883d27fb53cbb48286de95312bd3b2ed..72315137d7e7f20d5182291ef4b01102f030078b 100644 (file)
@@ -432,7 +432,7 @@ void sctp_assoc_set_primary(struct sctp_association *asoc,
                changeover = 1 ;
 
        asoc->peer.primary_path = transport;
-       sctp_ulpevent_nofity_peer_addr_change(transport,
+       sctp_ulpevent_notify_peer_addr_change(transport,
                                              SCTP_ADDR_MADE_PRIM, 0);
 
        /* Set a default msg_name for events. */
@@ -574,7 +574,7 @@ void sctp_assoc_rm_peer(struct sctp_association *asoc,
 
        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);
 }
 
@@ -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);
        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 (!asoc->peer.primary_path) {
@@ -840,7 +840,7 @@ void sctp_assoc_control_transport(struct sctp_association *asoc,
         * to the user.
         */
        if (ulp_notify)
-               sctp_ulpevent_nofity_peer_addr_change(transport,
+               sctp_ulpevent_notify_peer_addr_change(transport,
                                                      spc_state, error);
 
        /* Select new active and retran paths. */
index c82dbdcf13f2ffe13d10a2acac67ed26b1f6c0ea..f0640306e77f99a757fa1ad9087aba77d0c37f17 100644 (file)
@@ -336,7 +336,7 @@ fail:
        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)
 {
        struct sctp_association *asoc = transport->asoc;