summaryrefslogtreecommitdiff
path: root/include/net/netns
diff options
context:
space:
mode:
authorBenjamin Thery <benjamin.thery@bull.net>2008-03-04 10:34:17 +0300
committerDavid S. Miller <davem@davemloft.net>2008-03-04 10:34:17 +0300
commitc572872f89e46e38cdb35a43b81122bfb7ff43fc (patch)
tree2392f9991dc73bff96966fabe9e25bd4ebfa2dda /include/net/netns
parent6cc118bd506ae8c6436f507b838a0e1f6185fec2 (diff)
downloadlinux-c572872f89e46e38cdb35a43b81122bfb7ff43fc.tar.xz
[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')
-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 {
struct xt_table *ip6table_mangle;
struct xt_table *ip6table_raw;
#endif
+ struct rt6_statistics *rt6_stats;
struct timer_list *ip6_fib_timer;
struct hlist_head *fib_table_hash;
struct fib6_table *fib6_main_tbl;