Commit ee916fd0 authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller

sctp: change auth event type name to SCTP_AUTHENTICATION_EVENT

This patch change the auth event type name to SCTP_AUTHENTICATION_EVENT,
which is based on API extension compliance.
Signed-off-by: default avatarWei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: default avatarVlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 209ba424
...@@ -408,7 +408,8 @@ enum sctp_sn_type { ...@@ -408,7 +408,8 @@ enum sctp_sn_type {
SCTP_SHUTDOWN_EVENT, SCTP_SHUTDOWN_EVENT,
SCTP_PARTIAL_DELIVERY_EVENT, SCTP_PARTIAL_DELIVERY_EVENT,
SCTP_ADAPTATION_INDICATION, 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 /* Notification error codes used to fill up the error fields in some
......
...@@ -843,7 +843,7 @@ struct sctp_ulpevent *sctp_ulpevent_make_authkey( ...@@ -843,7 +843,7 @@ struct sctp_ulpevent *sctp_ulpevent_make_authkey(
ak = (struct sctp_authkey_event *) ak = (struct sctp_authkey_event *)
skb_put(skb, sizeof(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_flags = 0;
ak->auth_length = sizeof(struct sctp_authkey_event); ak->auth_length = sizeof(struct sctp_authkey_event);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment