sctp: allow users to set ep ecn flag by sockopt
authorXin Long <lucien.xin@gmail.com>
Mon, 26 Aug 2019 08:30:04 +0000 (16:30 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Aug 2019 03:54:14 +0000 (20:54 -0700)
commitd5886b919a720ff859aebf569cb0f353b1d977a6
tree8817b65f830a249e7d919d73d6c4f1ea19b3cb7f
parent2f5268a9249b87d49ab3c7050f99064e6d1a8bb0
sctp: allow users to set ep ecn flag by sockopt

SCTP_ECN_SUPPORTED sockopt will be added to allow users to change
ep ecn flag, and it's similar with other feature flags.

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