aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netns/ipv6.h
diff options
context:
space:
mode:
authorBenjamin Thery <benjamin.thery@bull.net>2008-03-04 02:34:17 -0500
committerDavid S. Miller <davem@davemloft.net>2008-03-04 02:34:17 -0500
commitc572872f89e46e38cdb35a43b81122bfb7ff43fc (patch)
tree2392f9991dc73bff96966fabe9e25bd4ebfa2dda /include/net/netns/ipv6.h
parent6cc118bd506ae8c6436f507b838a0e1f6185fec2 (diff)
[NETNS][IPV6] rt6_stats - make the stats per network namespace
The rt6_stats is now per namespace with this patch. It is allocated when a network namespace is created and freed when the network namespace exits and references are relative to the 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/ipv6.h')
-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 66bf9c0f745b..c6c9afff13ef 100644
--- a/include/net/netns/ipv6.h
+++ b/include/net/netns/ipv6.h
@@ -36,6 +36,7 @@ struct netns_ipv6 {
36 struct xt_table *ip6table_mangle; 36 struct xt_table *ip6table_mangle;
37 struct xt_table *ip6table_raw; 37 struct xt_table *ip6table_raw;
38#endif 38#endif
39 struct rt6_statistics *rt6_stats;
39 struct timer_list *ip6_fib_timer; 40 struct timer_list *ip6_fib_timer;
40 struct hlist_head *fib_table_hash; 41 struct hlist_head *fib_table_hash;
41 struct fib6_table *fib6_main_tbl; 42 struct fib6_table *fib6_main_tbl;