Skip to contentSkip to conversation

sctp: fix auth event name to SCTP_AUTHENTICATION_EVENT

PATCH New Wei Yongjun 1 participant 1 message Apr 19, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sctp: fix auth event name to SCTP_AUTHENTICATION_EVENT

This patch change the auth event type name to
SCTP_AUTHENTICATION_EVENT, which is based on
API extension compliance.

---
 include/net/sctp/user.h |    3 ++-
 net/sctp/ulpevent.c     |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
include/net/sctp/user.h +2 -1
index 2b2769c..4e0a8a6 100644
@@ -406,7 +406,8 @@ enum sctp_sn_type {
 	SCTP_SHUTDOWN_EVENT,
 	SCTP_PARTIAL_DELIVERY_EVENT,
 	SCTP_ADAPTATION_INDICATION,
-	SCTP_AUTHENTICATION_INDICATION,
+	SCTP_AUTHENTICATION_EVENT,
+#define SCTP_AUTHENTICATION_INDICATION	SCTP_AUTHENTICATION_EVENT
 };
 
 /* Notification error codes used to fill up the error fields in some
net/sctp/ulpevent.c +1 -1
index aa72e89..674a249 100644
@@ -843,7 +843,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_INDICATION;
+	ak->auth_type = SCTP_AUTHENTICATION_EVENT;
 	ak->auth_flags = 0;
 	ak->auth_length = sizeof(struct sctp_authkey_event);
 
Signature · 1 line
1.6.5.2