diff options
author | Xin Long <lucien.xin@gmail.com> | 2019-01-28 10:08:27 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-30 11:44:06 +0300 |
commit | 6fd769beb0d9451739acaecebe8266550aafd268 (patch) | |
tree | 111f91a68dac4a299373b47ff23be1e89ae51296 /net/sctp/associola.c | |
parent | 8889394df2aaf39aa4378fc87af300e9e813c729 (diff) | |
download | linux-6fd769beb0d9451739acaecebe8266550aafd268.tar.xz |
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>
Diffstat (limited to 'net/sctp/associola.c')
0 files changed, 0 insertions, 0 deletions