sctp: use SCTP_FUTURE_ASSOC for SCTP_LOCAL_AUTH_CHUNKS sockopt
authorXin Long <[email protected]>
Mon, 28 Jan 2019 07:08:28 +0000 (15:08 +0800)
committerDavid S. Miller <[email protected]>
Wed, 30 Jan 2019 08:44:06 +0000 (00:44 -0800)
commit48c072174dea73c4c36ba95df87c1b4d6083df11
treef9a8904a91dfcf0f4c56bd5ef9eb4241d71dca5b
parent6fd769beb0d9451739acaecebe8266550aafd268
sctp: use SCTP_FUTURE_ASSOC for SCTP_LOCAL_AUTH_CHUNKS sockopt

Check with SCTP_FUTURE_ASSOC instead in
sctp_getsockopt_local_auth_chunks, it's compatible with 0.

Signed-off-by: Xin Long <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/sctp/socket.c