summaryrefslogtreecommitdiffstats
path: root/net/sctp/sm_statetable.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2018-11-18 16:08:53 +0800
committerDavid S. Miller <davem@davemloft.net>2018-11-19 12:25:43 -0800
commit88ee48c1f3b7092414fb93c3cf0838ba24f62e16 (patch)
tree331ae7349e65b47df8ef6f0c7c77b22a01a7a910 /net/sctp/sm_statetable.c
parenta1e3a0590f9bd232f3a03fd87226a4a99bd5ec92 (diff)
downloadlinux-88ee48c1f3b7092414fb93c3cf0838ba24f62e16.tar.gz
linux-88ee48c1f3b7092414fb93c3cf0838ba24f62e16.tar.bz2
linux-88ee48c1f3b7092414fb93c3cf0838ba24f62e16.zip
sctp: rename enum sctp_event to sctp_event_type
sctp_event is a structure name defined in RFC for sockopt SCTP_EVENT. To avoid the conflict, rename it. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/sm_statetable.c')
-rw-r--r--net/sctp/sm_statetable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/sm_statetable.c b/net/sctp/sm_statetable.c
index 691d9dc620e3..d239b94aa48c 100644
--- a/net/sctp/sm_statetable.c
+++ b/net/sctp/sm_statetable.c
@@ -79,7 +79,7 @@ static const struct sctp_sm_table_entry bug = {
const struct sctp_sm_table_entry *sctp_sm_lookup_event(
struct net *net,
- enum sctp_event event_type,
+ enum sctp_event_type event_type,
enum sctp_state state,
union sctp_subtype event_subtype)
{