* [net-2.6 - patch 1/1] ipv6 : Fix useless proc net sockstat6 removal
@ 2008-07-28 21:41 Daniel Lezcano
2008-07-30 10:12 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Lezcano @ 2008-07-28 21:41 UTC (permalink / raw)
To: David Miller; +Cc: Linux Netdev List
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: fix-remove-proc-sockstat6.patch --]
[-- Type: text/plain, Size: 730 bytes --]
Subject: ipv6 : Fix useless proc net sockstat6 removal
From: Daniel Lezcano <dlezcano@fr.ibm.com>
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>
---
net/ipv6/proc.c | 1 -
1 file changed, 1 deletion(-)
Index: net-2.6/net/ipv6/proc.c
===================================================================
--- net-2.6.orig/net/ipv6/proc.c
+++ net-2.6/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);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [net-2.6 - patch 1/1] ipv6 : Fix useless proc net sockstat6 removal
2008-07-28 21:41 [net-2.6 - patch 1/1] ipv6 : Fix useless proc net sockstat6 removal Daniel Lezcano
@ 2008-07-30 10:12 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-07-30 10:12 UTC (permalink / raw)
To: dlezcano; +Cc: netdev
From: Daniel Lezcano <dlezcano@fr.ibm.com>
Date: Mon, 28 Jul 2008 23:41:38 +0200
> ipv6: Fix useless proc net sockstat6 removal
> From: Daniel Lezcano <dlezcano@fr.ibm.com>
>
> 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>
Applied, thanks Daniel.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-30 10:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-28 21:41 [net-2.6 - patch 1/1] ipv6 : Fix useless proc net sockstat6 removal Daniel Lezcano
2008-07-30 10:12 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).