[NETNS][IPV6]: Make icmpv6_time sysctl per namespace.
This patch moves the icmpv6_time sysctl to the network namespace structure. Because the ipv6 protocol is not yet per namespace, the variable is accessed relatively to the initial network namespace. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
4990509f19
commit
41a76906b3
@@ -125,6 +125,7 @@ static int ipv6_sysctl_net_init(struct net *net)
|
||||
ipv6_route_table[8].data = &net->ipv6.sysctl.ip6_rt_min_advmss;
|
||||
ipv6_table[0].child = ipv6_route_table;
|
||||
|
||||
ipv6_icmp_table[0].data = &net->ipv6.sysctl.icmpv6_time;
|
||||
ipv6_table[1].child = ipv6_icmp_table;
|
||||
|
||||
ipv6_table[2].data = &net->ipv6.sysctl.bindv6only;
|
||||
|
Reference in New Issue
Block a user