projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
785957d
)
ipv6: Fix useless proc net sockstat6 removal
author
Daniel Lezcano
<dlezcano@fr.ibm.com>
Wed, 30 Jul 2008 10:12:31 +0000
(
03:12
-0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 30 Jul 2008 10:27:52 +0000
(
03:27
-0700)
This call is no longer needed, sockstat6 is per namespace so it is
removed at the namespace subsystem destruction.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/proc.c
patch
|
blob
|
history
diff --git
a/net/ipv6/proc.c
b/net/ipv6/proc.c
index f82f6074cf855340987e04c63d7df24e1058db88..0179b66864f141e20f24eafa8fab6caab6b69acf 100644
(file)
--- a/
net/ipv6/proc.c
+++ b/
net/ipv6/proc.c
@@
-286,7
+286,6
@@
proc_net_fail:
void ipv6_misc_proc_exit(void)
{
- proc_net_remove(&init_net, "sockstat6");
proc_net_remove(&init_net, "dev_snmp6");
proc_net_remove(&init_net, "snmp6");
unregister_pernet_subsys(&ipv6_proc_ops);