sctp: allow users to set netns ecn flag with sysctl
authorXin Long <lucien.xin@gmail.com>
Mon, 26 Aug 2019 08:30:03 +0000 (16:30 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Aug 2019 03:54:14 +0000 (20:54 -0700)
commit2f5268a9249b87d49ab3c7050f99064e6d1a8bb0
tree5725b06ba7c13b05af6091a52acd3d42cd03debe
parent1b0b8114b9549dee6490e728cd787f808b586158
sctp: allow users to set netns ecn flag with sysctl

sysctl net.sctp.ecn_enable is added in this patch. It will allow
users to change the default sctp ecn flag, net.sctp.ecn_enable.

This feature was also required on this thread:

  http://lkml.iu.edu/hypermail/linux/kernel/0812.1/01858.html

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/sysctl.c