summaryrefslogtreecommitdiff
path: root/net/sctp/associola.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2019-01-28 10:08:27 +0300
committerDavid S. Miller <davem@davemloft.net>2019-01-30 11:44:06 +0300
commit6fd769beb0d9451739acaecebe8266550aafd268 (patch)
tree111f91a68dac4a299373b47ff23be1e89ae51296 /net/sctp/associola.c
parent8889394df2aaf39aa4378fc87af300e9e813c729 (diff)
downloadlinux-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