summaryrefslogtreecommitdiffstats
path: root/net/sctp/sysctl.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2019-08-26 10:30:02 +0200
committerDavid S. Miller <davem@davemloft.net>2019-08-28 05:54:14 +0200
commit1b0b8114b9549dee6490e728cd787f808b586158 (patch)
treef0fbb0c439b50d37c504e8a3e3df1d5b683d4021 /net/sctp/sysctl.c
parentnet: mediatek: remove set but not used variable 'status' (diff)
downloadlinux-1b0b8114b9549dee6490e728cd787f808b586158.tar.xz
linux-1b0b8114b9549dee6490e728cd787f808b586158.zip
sctp: make ecn flag per netns and endpoint
This patch is to add ecn flag for both netns_sctp and sctp_endpoint, net->sctp.ecn_enable is set 1 by default, and ep->ecn_enable will be initialized with net->sctp.ecn_enable. asoc->peer.ecn_capable will be set during negotiation only when ep->ecn_enable is set on both sides. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/sysctl.c')
0 files changed, 0 insertions, 0 deletions