]> git.openpandora.org Git - pandora-kernel.git/commitdiff
[NETNS][IPV6] rt6_info - move rt6_info structure inside the namespace
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 4 Mar 2008 21:48:30 +0000 (13:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Mar 2008 21:48:30 +0000 (13:48 -0800)
The rt6_info structures are moved inside the network namespace
structure. All references to these structures are now relative to the
initial network namespace.

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/addrconf.c
net/ipv6/fib6_rules.c
net/ipv6/ip6_fib.c
net/ipv6/route.c

index fae267f65341a6926f23f4aabde6b2160ff617a3..7c5c0f79168a551097df48784830ea5b8c473828 100644 (file)
@@ -174,7 +174,8 @@ struct fib6_table {
 #define RT6_TABLE_LOCAL                RT6_TABLE_MAIN
 #endif
 
-typedef struct rt6_info *(*pol_lookup_t)(struct fib6_table *,
+typedef struct rt6_info *(*pol_lookup_t)(struct net *,
+                                        struct fib6_table *,
                                         struct flowi *, int);
 
 /*
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge