aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sctp
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2019-08-19 22:02:43 +0800
committerDavid S. Miller <davem@davemloft.net>2019-08-19 18:27:28 -0700
commit4e27428fb5626f966aa961b1aad8751f2ebeef72 (patch)
treefd1e02768a723e6e7dbf97e289b6afceb9181223 /include/net/sctp
parentnet: remove empty inet_exit_net (diff)
downloadlinux-dev-4e27428fb5626f966aa961b1aad8751f2ebeef72.tar.xz
linux-dev-4e27428fb5626f966aa961b1aad8751f2ebeef72.zip
sctp: add asconf_enable in struct sctp_endpoint
This patch is to make addip/asconf flag per endpoint, and its value is initialized by the per netns flag, net->sctp.addip_enable. It also replaces the checks of net->sctp.addip_enable with ep->asconf_enable in some places. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sctp')
-rw-r--r--include/net/sctp/structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h
index ba5c4f6eede5..daac1eff18c9 100644
--- a/include/net/sctp/structs.h
+++ b/include/net/sctp/structs.h
@@ -1325,6 +1325,7 @@ struct sctp_endpoint {
__u8 auth_enable:1,
intl_enable:1,
prsctp_enable:1,
+ asconf_enable:1,
reconf_enable:1;
__u8 strreset_enable;