diff options
author | Wei Yongjun <yjwei@cn.fujitsu.com> | 2011-04-17 13:28:01 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-21 13:35:44 -0400 |
commit | ee916fd0fdb8f43dacaab431de3e1f7225039d72 (patch) | |
tree | 98dc89aaaf3b2e6c4b69276e7e33c960f4b7b19a | |
parent | 209ba424c2c6e5ff4dd0ff79bb23659aa6048eac (diff) |
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: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/net/sctp/user.h | 3 | ||||
-rw-r--r-- | net/sctp/ulpevent.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/net/sctp/user.h b/include/net/sctp/user.h index 793617ecbfdf..4525d8c7f71a 100644 --- a/include/net/sctp/user.h +++ b/include/net/sctp/user.h | |||
@@ -408,7 +408,8 @@ enum sctp_sn_type { | |||
408 | SCTP_SHUTDOWN_EVENT, | 408 | SCTP_SHUTDOWN_EVENT, |
409 | SCTP_PARTIAL_DELIVERY_EVENT, | 409 | SCTP_PARTIAL_DELIVERY_EVENT, |
410 | SCTP_ADAPTATION_INDICATION, | 410 | SCTP_ADAPTATION_INDICATION, |
411 | SCTP_AUTHENTICATION_INDICATION, | 411 | SCTP_AUTHENTICATION_EVENT, |
412 | #define SCTP_AUTHENTICATION_INDICATION SCTP_AUTHENTICATION_EVENT | ||
412 | }; | 413 | }; |
413 | 414 | ||
414 | /* Notification error codes used to fill up the error fields in some | 415 | /* Notification error codes used to fill up the error fields in some |
diff --git a/net/sctp/ulpevent.c b/net/sctp/ulpevent.c index dff27d5e22fd..62d4a7bbaaea 100644 --- a/net/sctp/ulpevent.c +++ b/net/sctp/ulpevent.c | |||
@@ -843,7 +843,7 @@ struct sctp_ulpevent *sctp_ulpevent_make_authkey( | |||
843 | ak = (struct sctp_authkey_event *) | 843 | ak = (struct sctp_authkey_event *) |
844 | skb_put(skb, sizeof(struct sctp_authkey_event)); | 844 | skb_put(skb, sizeof(struct sctp_authkey_event)); |
845 | 845 | ||
846 | ak->auth_type = SCTP_AUTHENTICATION_INDICATION; | 846 | ak->auth_type = SCTP_AUTHENTICATION_EVENT; |
847 | ak->auth_flags = 0; | 847 | ak->auth_flags = 0; |
848 | ak->auth_length = sizeof(struct sctp_authkey_event); | 848 | ak->auth_length = sizeof(struct sctp_authkey_event); |
849 | 849 | ||