commit | 6fd769beb0d9451739acaecebe8266550aafd268 | [log] [tgz] |
---|---|---|
author | Xin Long <lucien.xin@gmail.com> | Mon Jan 28 15:08:27 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 30 00:44:06 2019 -0800 |
tree | 111f91a68dac4a299373b47ff23be1e89ae51296 | |
parent | 8889394df2aaf39aa4378fc87af300e9e813c729 [diff] |
sctp: use SCTP_FUTURE_ASSOC for SCTP_MAXSEG sockopt Check with SCTP_FUTURE_ASSOC instead in sctp_set/getsockopt_maxseg, it's compatible with 0. Also check asoc_id early as other sctp setsockopts does. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>