[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>
Showing
- include/net/ip6_route.h 0 additions, 2 deletionsinclude/net/ip6_route.h
- include/net/netns/ipv6.h 8 additions, 0 deletionsinclude/net/netns/ipv6.h
- net/ipv6/af_inet6.c 8 additions, 0 deletionsnet/ipv6/af_inet6.c
- net/ipv6/ip6_fib.c 9 additions, 5 deletionsnet/ipv6/ip6_fib.c
- net/ipv6/route.c 20 additions, 29 deletionsnet/ipv6/route.c
- net/ipv6/sysctl_net_ipv6.c 11 additions, 0 deletionsnet/ipv6/sysctl_net_ipv6.c
Loading
Please register or sign in to comment