aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/offload.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2019-08-19 22:02:50 +0800
committerDavid S. Miller <davem@davemloft.net>2019-08-19 18:27:29 -0700
commit2f7576347cf3dd993f1ffe5e6018b4b764319c52 (patch)
tree2d4274ee809c8bf6a22e1b96a32f5065397586cc /net/sctp/offload.c
parentsctp: add SCTP_AUTH_SUPPORTED sockopt (diff)
downloadlinux-dev-2f7576347cf3dd993f1ffe5e6018b4b764319c52.tar.xz
linux-dev-2f7576347cf3dd993f1ffe5e6018b4b764319c52.zip
sctp: remove net sctp.x_enable working as a global switch
The netns sctp feature flags shouldn't work as a global switch, which is mostly like a firewall/netfilter's job. Also, it will break asoc as it discard or accept chunks incorrectly when net sctp.x_enable is changed after the asoc is created. Since each type of chunk's processing function will check the corresp asoc's feature flag, this 'global switch' should be removed, and net sctp.x_enable will only work as the default feature flags for the future sctp sockets/endpoints. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/offload.c')
0 files changed, 0 insertions, 0 deletions