[NETNS][IPV6]: Make sysctls route per namespace.
All the sysctl concerning the routes are moved to the network namespace structure. A helper function is called to initialize the variables. Because the ipv6 protocol is not yet per namespace, the variables are accessed relatively from the 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
7c76509d0d
commit
4990509f19
@@ -15,6 +15,14 @@ struct netns_sysctl_ipv6 {
|
||||
#endif
|
||||
struct inet_frags_ctl frags;
|
||||
int bindv6only;
|
||||
int flush_delay;
|
||||
int ip6_rt_max_size;
|
||||
int ip6_rt_gc_min_interval;
|
||||
int ip6_rt_gc_timeout;
|
||||
int ip6_rt_gc_interval;
|
||||
int ip6_rt_gc_elasticity;
|
||||
int ip6_rt_mtu_expires;
|
||||
int ip6_rt_min_advmss;
|
||||
};
|
||||
|
||||
struct netns_ipv6 {
|
||||
|
Reference in New Issue
Block a user