diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-03-26 01:56:24 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-26 01:56:24 -0700 |
commit | 68528f09980a60c8df046d16336333cac4fc0c32 (patch) | |
tree | 88d2f93f5e6ea4a8c7539e3f9a28afc27f71a3d9 /include/net/netns | |
parent | a24022e1887978decaa28fb11d1ddff63e31497f (diff) |
[NETNS][ICMP]: Make ctl tables for ICMP sysctls per-net.
Add some flesh to ipv4_sysctl_init_net and ipv4_sysctl_exit_net,
i.e. copy the table, alter .data pointers and register it per-net.
Other ipv4_table's sysctls are now global, but this is going to
change once sysctl permissions patches migrate from -mm tree to
mainline in 2.6.26 merge window :)
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns')
-rw-r--r-- | include/net/netns/ipv4.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h index e3de0ff8ea4..af685f71f4b 100644 --- a/include/net/netns/ipv4.h +++ b/include/net/netns/ipv4.h @@ -17,6 +17,7 @@ struct netns_ipv4 { #ifdef CONFIG_SYSCTL struct ctl_table_header *forw_hdr; struct ctl_table_header *frags_hdr; + struct ctl_table_header *ipv4_hdr; #endif struct ipv4_devconf *devconf_all; struct ipv4_devconf *devconf_dflt; |