commit | fb1956050846331358ecd259cc1b632a092d73ff | [log] [tgz] |
---|---|---|
author | Xin Long <lucien.xin@gmail.com> | Mon Jan 28 15:08:30 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 30 00:44:07 2019 -0800 |
tree | 37e7e43de31aafa523b17d17def342ad339a451b | |
parent | 8add543e369d67ccd42f7e67d68866b4d606f632 [diff] |
sctp: use SCTP_FUTURE_ASSOC for SCTP_PR_SUPPORTED sockopt Check with SCTP_FUTURE_ASSOC instead in sctp_set/getsockopt_pr_supported, it's compatible with 0. 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>