sctp: fix ignoring asoc_id for tcp-style sockets on SCTP_EVENT sockopt
authorXin Long <lucien.xin@gmail.com>
Mon, 18 Mar 2019 12:06:10 +0000 (20:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Mar 2019 01:31:09 +0000 (18:31 -0700)
commit995186193fd7a21c8fc6a2f2a96d33e26447eb01
tree13279e5648aa3efe4ea81e5f369c73fa47062a8b
parent9430ff992644e9f9c3ba6283cc56d40b421522e9
sctp: fix ignoring asoc_id for tcp-style sockets on SCTP_EVENT sockopt

A similar fix as Patch "sctp: fix ignoring asoc_id for tcp-style sockets on
SCTP_DEFAULT_SEND_PARAM sockopt" on SCTP_EVENT sockopt.

Fixes: d251f05e3ba2 ("sctp: use SCTP_FUTURE_ASSOC and add SCTP_CURRENT_ASSOC for SCTP_EVENT sockopt")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c