netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [IPV6] cleanup : remove proc_net_remove called twice
@ 2007-10-30 12:55 Daniel Lezcano
  0 siblings, 0 replies; only message in thread
From: Daniel Lezcano @ 2007-10-30 12:55 UTC (permalink / raw)
  To: David Miller, Eric W. Biederman; +Cc: Linux Netdev List, Linux Containers

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 <dlezcano@fr.ibm.com>
---
  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
  }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-30 12:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-30 12:55 [IPV6] cleanup : remove proc_net_remove called twice Daniel Lezcano

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).