diff options
author | Xin Long | 2019-01-28 08:08:38 +0100 |
---|---|---|
committer | David S. Miller | 2019-01-30 09:44:07 +0100 |
commit | e0651a0dc87780c03683ca1613a30b982dbf964d (patch) | |
tree | edb3053b416874016574b48f53d02374622261ba /kernel/kcmp.c | |
parent | sctp: use SCTP_FUTURE_ASSOC and add SCTP_CURRENT_ASSOC for SCTP_CONTEXT sockopt (diff) | |
download | kernel-qcow2-linux-e0651a0dc87780c03683ca1613a30b982dbf964d.tar.gz kernel-qcow2-linux-e0651a0dc87780c03683ca1613a30b982dbf964d.tar.xz kernel-qcow2-linux-e0651a0dc87780c03683ca1613a30b982dbf964d.zip |
sctp: use SCTP_FUTURE_ASSOC and add SCTP_CURRENT_ASSOC for SCTP_MAX_BURST sockopt
Check with SCTP_ALL_ASSOC instead in sctp_setsockopt_maxburst and
check with SCTP_FUTURE_ASSOC instead in sctp_getsockopt_maxburst,
it's compatible with 0.
SCTP_CURRENT_ASSOC is supported for SCTP_CONTEXT in this patch.
It also adjusts some code to keep a same check form as other
functions.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/kcmp.c')
0 files changed, 0 insertions, 0 deletions