diff options
author | David S. Miller <davem@davemloft.net> | 2019-03-18 18:31:09 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-18 18:31:09 -0700 |
commit | 7c614682c8aed5f401ad84a18669c1ef602ad33d (patch) | |
tree | 6956cf767bcc0f3b4993eaae5cd9b079d9f8d85a /drivers/isdn | |
parent | 636d25d557d1073281013c43e4ff4737692da2d4 (diff) | |
parent | b59c19d9d901a8eb04896ec027787a55acb71fc6 (diff) | |
download | linux-7c614682c8aed5f401ad84a18669c1ef602ad33d.tar.bz2 |
Merge branch 'sctp-fix-ignoring-asoc_id-for-tcp-style-sockets-on-some-setsockopts'
Xin Long says:
====================
sctp: fix ignoring asoc_id for tcp-style sockets on some setsockopts
This is a patchset to fix ignoring asoc_id for tcp-style sockets on
some setsockopts, introduced by SCTP_CURRENT_ASSOC of the patchset:
[net-next,00/24] sctp: support SCTP_FUTURE/CURRENT/ALL_ASSOC
(https://patchwork.ozlabs.org/cover/1031706/)
As Marcelo suggested, we fix it on each setsockopt that is using
SCTP_CURRENT_ASSOC one by one by adding the check:
if (sctp_style(sk, TCP))
xxx.xxx_assoc_id = SCTP_FUTURE_ASSOC;
so that assoc_id will be completely ingored for tcp-style socket on
setsockopts, and works as SCTP_FUTURE_ASSOC.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions