diff options
author | Xin Long <lucien.xin@gmail.com> | 2019-08-19 17:02:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-20 04:27:28 +0300 |
commit | 4e27428fb5626f966aa961b1aad8751f2ebeef72 (patch) | |
tree | fd1e02768a723e6e7dbf97e289b6afceb9181223 /include/net/sctp | |
parent | af809709e9df2a44137429ba3694c339a11b710d (diff) | |
download | linux-4e27428fb5626f966aa961b1aad8751f2ebeef72.tar.xz |
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.h | 1 |
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; |