This patchset is to make ecn flag per netns and endpoint and then add SCTP_ECN_SUPPORTED sockopt, as does for other feature flags. Xin Long (3): sctp: make ecn flag per netns and endpoint sctp: allow users to set netns ecn flag with sysctl sctp: allow users to set ep ecn flag by sockopt include/net/netns/sctp.h | 3 ++ include/net/sctp/structs.h | 3 +- include/uapi/linux/sctp.h | 1 + net/sctp/endpointola.c | 1 + net/sctp/protocol.c | 3 ++ net/sctp/sm_make_chunk.c | 16 +++++++--- net/sctp/socket.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++ net/sctp/sysctl.c | 7 +++++ 8 files changed, 102 insertions(+), 5 deletions(-) -- 2.1.0