[SCTP]: Fix the name of the authentication event.
authorVlad Yasevich <vladislav.yasevich@hp.com>
Mon, 7 Jan 2008 08:27:16 +0000 (00:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jan 2008 07:30:02 +0000 (23:30 -0800)
The even should be called SCTP_AUTHENTICATION_INDICATION.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/user.h
net/sctp/ulpevent.c

index 00848b641f59d592d933452ee309ab22ee499047..954090b1e354143bd851a384f9b858a844096634 100644 (file)
@@ -450,7 +450,7 @@ enum sctp_sn_type {
        SCTP_SHUTDOWN_EVENT,
        SCTP_PARTIAL_DELIVERY_EVENT,
        SCTP_ADAPTATION_INDICATION,
-       SCTP_AUTHENTICATION_EVENT,
+       SCTP_AUTHENTICATION_INDICATION,
 };
 
 /* Notification error codes used to fill up the error fields in some
index 2c17c7efad461b33f016c83401c4570068843e84..307314356e1662317c25be57050f79f366a9395e 100644 (file)
@@ -830,7 +830,7 @@ struct sctp_ulpevent *sctp_ulpevent_make_authkey(
        ak = (struct sctp_authkey_event *)
                skb_put(skb, sizeof(struct sctp_authkey_event));
 
-       ak->auth_type = SCTP_AUTHENTICATION_EVENT;
+       ak->auth_type = SCTP_AUTHENTICATION_INDICATION;
        ak->auth_flags = 0;
        ak->auth_length = sizeof(struct sctp_authkey_event);