diff options
author | Xin Long <lucien.xin@gmail.com> | 2016-09-28 21:37:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-30 09:07:05 +0300 |
commit | be4947bf46cb0e7a7d089e03c61bab35f1e695ce (patch) | |
tree | 859152992bd65e3da93767dbda6fbdf7e011e69c /drivers/md/dm-uevent.c | |
parent | 0605483f6ace1f6b63e397c819a115ddcd13af0d (diff) | |
download | linux-be4947bf46cb0e7a7d089e03c61bab35f1e695ce.tar.xz |
sctp: change to check peer prsctp_capable when using prsctp polices
Now before using prsctp polices, sctp uses asoc->prsctp_enable to
check if prsctp is enabled. However asoc->prsctp_enable is set only
means local host support prsctp, sctp should not abandon packet if
peer host doesn't enable prsctp.
So this patch is to use asoc->peer.prsctp_capable to check if prsctp
is enabled on both side, instead of asoc->prsctp_enable, as asoc's
peer.prsctp_capable is set only when local and peer both enable prsctp.
Fixes: a6c2f792873a ("sctp: implement prsctp TTL policy")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/md/dm-uevent.c')
0 files changed, 0 insertions, 0 deletions