sctp: use SCTP_FUTURE_ASSOC for SCTP_ASSOCINFO sockopt
authorXin Long <lucien.xin@gmail.com>
Mon, 28 Jan 2019 07:08:26 +0000 (15:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Jan 2019 08:44:06 +0000 (00:44 -0800)
commit8889394df2aaf39aa4378fc87af300e9e813c729
treeeb2162abd6573049035d11db8cbc6e782e0da748
parent7adb5ed5eec39fd829020b2568352e2745a05a50
sctp: use SCTP_FUTURE_ASSOC for SCTP_ASSOCINFO sockopt

Check with SCTP_FUTURE_ASSOC instead in
sctp_set/getsockopt_associnfo, it's compatible with 0.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c