diff options
author | Benjamin Thery <benjamin.thery@bull.net> | 2008-03-04 08:34:17 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-04 08:34:17 +0100 |
commit | c572872f89e46e38cdb35a43b81122bfb7ff43fc (patch) | |
tree | 2392f9991dc73bff96966fabe9e25bd4ebfa2dda /include/net/ipv6.h | |
parent | [NETNS][IPV6] rt6_stats - dynamically allocate the routes statistics (diff) | |
download | linux-c572872f89e46e38cdb35a43b81122bfb7ff43fc.tar.xz linux-c572872f89e46e38cdb35a43b81122bfb7ff43fc.zip |
[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/ipv6.h')
-rw-r--r-- | include/net/ipv6.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index 9a00f35ae773..5f6df50a33a9 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h @@ -611,7 +611,6 @@ extern void ipv6_misc_proc_exit(void); extern int snmp6_register_dev(struct inet6_dev *idev); extern int snmp6_unregister_dev(struct inet6_dev *idev); -extern struct rt6_statistics *rt6_stats; #else static inline int snmp6_register_dev(struct inet6_dev *idev) { |