[NETNS][ICMP]: Make ctl tables for ICMP sysctls per-net.
authorPavel Emelyanov <xemul@openvz.org>
Wed, 26 Mar 2008 08:56:24 +0000 (01:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Mar 2008 08:56:24 +0000 (01:56 -0700)
commit68528f09980a60c8df046d16336333cac4fc0c32
tree88d2f93f5e6ea4a8c7539e3f9a28afc27f71a3d9
parenta24022e1887978decaa28fb11d1ddff63e31497f
[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>
include/net/netns/ipv4.h
net/ipv4/sysctl_net_ipv4.c