diff options
author | Xin Long <lucien.xin@gmail.com> | 2019-01-28 10:08:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-30 11:44:08 +0300 |
commit | d251f05e3ba2e6ab7f59c88b497facf2f61c5b2f (patch) | |
tree | ceba1db48b3a45afbb75df646572eabdb3e716b5 /include/net/sctp | |
parent | 99a62135e127977c06f4c44b6b9f24492a4b2153 (diff) | |
download | linux-d251f05e3ba2e6ab7f59c88b497facf2f61c5b2f.tar.xz |
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 'include/net/sctp')
0 files changed, 0 insertions, 0 deletions