commit | 1b0b8114b9549dee6490e728cd787f808b586158 | [log] [tgz] |
---|---|---|
author | Xin Long <lucien.xin@gmail.com> | Mon Aug 26 16:30:02 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 27 20:54:14 2019 -0700 |
tree | f0fbb0c439b50d37c504e8a3e3df1d5b683d4021 | |
parent | 7add83d93a94aaac79645414fd57d3c4b707d3be [diff] |
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>