mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
[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>
This commit is contained in:
parent
6cc118bd50
commit
c572872f89
4 changed files with 23 additions and 23 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue