commit | 92fc3bd928c9329bf3f6f5c4210bbe4ba4bd3299 | [log] [tgz] |
---|---|---|
author | Xin Long <lucien.xin@gmail.com> | Mon Jan 28 15:08:36 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 30 00:44:07 2019 -0800 |
tree | d7eed3c098ad382867e864ec6d656eb440eb2fd9 | |
parent | 707e45b3dc5a68243782de11e852e8d2cc63b739 [diff] |
sctp: use SCTP_FUTURE_ASSOC and add SCTP_CURRENT_ASSOC for SCTP_DEFAULT_SNDINFO sockopt Check with SCTP_ALL_ASSOC instead in sctp_setsockopt_default_sndinfo and check with SCTP_FUTURE_ASSOC instead in sctp_getsockopt_default_sndinfo, it's compatible with 0. SCTP_CURRENT_ASSOC is supported for SCTP_DEFAULT_SNDINFO in this patch. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>