]> git.baikalelectronics.ru Git - kernel.git/commit
[NETNS][IPV6] ip6_fib - make it per network namespace
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 4 Mar 2008 07:25:27 +0000 (23:25 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Mar 2008 07:25:27 +0000 (23:25 -0800)
commite1517b73666ff44829863656fe20b7ddddeb2276
tree6c7fb907dd7da48384087944c81368c216b841f1
parentbed34db0e1187fbf2708e568d70683d51ccc4d73
[NETNS][IPV6] ip6_fib - make it per network namespace

The fib table for ipv6 are moved to the network namespace structure.
All references to them are made relatively to the network namespace.

All external calls to the ip6_fib functions taking the network
namespace parameter are made using the init_net variable, so the
ip6_fib engine is ready for the namespaces but the callers not yet.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: Benjamin Thery <benjamin.thery@bull.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_fib.h
include/net/netns/ipv6.h
net/ipv6/fib6_rules.c
net/ipv6/ip6_fib.c
net/ipv6/route.c