sctp: remove prsctp_enable from asoc
Like reconf_enable, prsctp_enable should also be removed from asoc, as asoc->peer.prsctp_capable has taken its job. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
a96701fb35
commit
1c13475368
@@ -7325,7 +7325,7 @@ static int sctp_getsockopt_pr_supported(struct sock *sk, int len,
|
||||
goto out;
|
||||
}
|
||||
|
||||
params.assoc_value = asoc ? asoc->prsctp_enable
|
||||
params.assoc_value = asoc ? asoc->peer.prsctp_capable
|
||||
: sctp_sk(sk)->ep->prsctp_enable;
|
||||
|
||||
if (put_user(len, optlen))
|
||||
|
Reference in New Issue
Block a user