summaryrefslogtreecommitdiffstats
path: root/net/sctp/primitive.c
diff options
context:
space:
mode:
authorXin Long2018-11-18 09:08:53 +0100
committerDavid S. Miller2018-11-19 21:25:43 +0100
commit88ee48c1f3b7092414fb93c3cf0838ba24f62e16 (patch)
tree331ae7349e65b47df8ef6f0c7c77b22a01a7a910 /net/sctp/primitive.c
parentsctp: add subscribe per asoc (diff)
downloadkernel-qcow2-linux-88ee48c1f3b7092414fb93c3cf0838ba24f62e16.tar.gz
kernel-qcow2-linux-88ee48c1f3b7092414fb93c3cf0838ba24f62e16.tar.xz
kernel-qcow2-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/primitive.c')
-rw-r--r--net/sctp/primitive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/primitive.c b/net/sctp/primitive.c
index c0817f7a8964..a8c4c33377bc 100644
--- a/net/sctp/primitive.c
+++ b/net/sctp/primitive.c
@@ -53,7 +53,7 @@
int sctp_primitive_ ## name(struct net *net, struct sctp_association *asoc, \
void *arg) { \
int error = 0; \
- enum sctp_event event_type; union sctp_subtype subtype; \
+ enum sctp_event_type event_type; union sctp_subtype subtype; \
enum sctp_state state; \
struct sctp_endpoint *ep; \
\