Thread (3 messages) 3 messages, 3 authors, 2007-10-30

Re: [patch 1/1][IPV6] resend: remove duplicate call to proc_net_remove

From: Eric W. Biederman <hidden>
Date: 2007-10-30 20:55:08

Daniel Lezcano [off-list ref] writes:
The file /proc/net/if_inet6 is removed twice.
First time in:
        inet6_exit
             ->addrconf_cleanup
And followed a few lines after by:
        inet6_exit
             -> if6_proc_exit

Signed-off-by: Daniel Lezcano <redacted>
Acked-by: "Eric W. Biederman" <redacted>

Looks like a good clean up to me.



quoted hunk ↗ jump to hunk
---
 net/ipv6/addrconf.c |    4 ----
 1 file changed, 4 deletions(-)

Index: net-2.6/net/ipv6/addrconf.c
===================================================================
--- net-2.6.orig/net/ipv6/addrconf.c
+++ net-2.6/net/ipv6/addrconf.c
@@ -4288,8 +4288,4 @@ void __exit addrconf_cleanup(void)
 	del_timer(&addr_chk_timer);
 
 	rtnl_unlock();
-
-#ifdef CONFIG_PROC_FS
-	proc_net_remove(&init_net, "if_inet6");
-#endif
 }
-- 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help