summaryrefslogtreecommitdiffstats
path: root/include/net/netns
diff options
context:
space:
mode:
authorBenjamin Thery <benjamin.thery@bull.net>2008-03-04 22:49:23 +0100
committerDavid S. Miller <davem@davemloft.net>2008-03-04 22:49:23 +0100
commitf2fc6a54585a1be6669613a31fbaba2ecbadcd36 (patch)
treec9605859d6abd163ba73da7c29a278a503095c6f /include/net/netns
parent[NETNS][IPV6] route6 - dynamically allocate ip6_dst_ops (diff)
downloadlinux-f2fc6a54585a1be6669613a31fbaba2ecbadcd36.tar.xz
linux-f2fc6a54585a1be6669613a31fbaba2ecbadcd36.zip
[NETNS][IPV6] route6 - move ip6_dst_ops inside the network namespace
The ip6_dst_ops is moved inside the network namespace structure. All references to this structure are now relative to the initial network namespace. Signed-off-by: Benjamin Thery <benjamin.thery@bull.net> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns')
-rw-r--r--include/net/netns/ipv6.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netns/ipv6.h b/include/net/netns/ipv6.h
index 311a942f36e9..53b5a283a4b3 100644
--- a/include/net/netns/ipv6.h
+++ b/include/net/netns/ipv6.h
@@ -41,6 +41,7 @@ struct netns_ipv6 {
struct timer_list *ip6_fib_timer;
struct hlist_head *fib_table_hash;
struct fib6_table *fib6_main_tbl;
+ struct dst_ops *ip6_dst_ops;
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
struct rt6_info *ip6_prohibit_entry;
struct rt6_info *ip6_blk_hole_entry;