diff options
author | 2019-01-28 15:08:45 +0800 | |
---|---|---|
committer | 2019-01-30 00:44:08 -0800 | |
commit | d251f05e3ba2e6ab7f59c88b497facf2f61c5b2f (patch) | |
tree | ceba1db48b3a45afbb75df646572eabdb3e716b5 /kernel/bpf/arraymap.c | |
parent | sctp: use SCTP_FUTURE_ASSOC and add SCTP_CURRENT_ASSOC for SCTP_ENABLE_STREAM_RESET sockopt (diff) | |
download | linux-dev-d251f05e3ba2e6ab7f59c88b497facf2f61c5b2f.tar.xz linux-dev-d251f05e3ba2e6ab7f59c88b497facf2f61c5b2f.zip |
sctp: use SCTP_FUTURE_ASSOC and add SCTP_CURRENT_ASSOC for SCTP_EVENT sockopt
Check with SCTP_ALL_ASSOC instead in sctp_setsockopt_event and
check with SCTP_FUTURE_ASSOC instead in sctp_getsockopt_event,
it's compatible with 0.
SCTP_CURRENT_ASSOC is supported for SCTP_EVENT in this patch.
It also adds sctp_assoc_ulpevent_type_set() to make code more
readable.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions