diff options
author | Benjamin Thery <benjamin.thery@bull.net> | 2008-03-03 23:34:17 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-03 23:34:17 -0800 |
commit | c572872f89e46e38cdb35a43b81122bfb7ff43fc (patch) | |
tree | 2392f9991dc73bff96966fabe9e25bd4ebfa2dda /include/net/netns/ipv6.h | |
parent | 6cc118bd506ae8c6436f507b838a0e1f6185fec2 (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.h | 1 |
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; |