diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-08 09:35:08 (GMT) |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-10-08 09:35:08 (GMT) |
commit | 802507071b72ed5025747126099cbc6d1542f596 (patch) | |
tree | 4c572d665eb8da556cc9c42b363ee44450a1edaf /include/net/netns | |
parent | 8e9df80180b73d4107bf8fbf28b1633c541d2770 (diff) | |
download | linux-fsl-qoriq-802507071b72ed5025747126099cbc6d1542f596.tar.xz |
netfilter: netns nf_conntrack: per-netns net.netfilter.nf_conntrack_count sysctl
Note, sysctl table is always duplicated, this is simpler and less
special-cased.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/net/netns')
-rw-r--r-- | include/net/netns/conntrack.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/netns/conntrack.h b/include/net/netns/conntrack.h index fc0a46d..2b50758 100644 --- a/include/net/netns/conntrack.h +++ b/include/net/netns/conntrack.h @@ -4,6 +4,7 @@ #include <linux/list.h> #include <asm/atomic.h> +struct ctl_table_header; struct nf_conntrack_ecache; struct netns_ct { @@ -16,6 +17,9 @@ struct netns_ct { #ifdef CONFIG_NF_CONNTRACK_EVENTS struct nf_conntrack_ecache *ecache; #endif +#ifdef CONFIG_SYSCTL + struct ctl_table_header *sysctl_header; +#endif int hash_vmalloc; int expect_vmalloc; }; |