Skip to content

Commit

Permalink
[IPV6]: remove duplicate call to proc_net_remove
Browse files Browse the repository at this point in the history
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Daniel Lezcano authored and David S. Miller committed Oct 31, 2007
1 parent 310928d commit 1675c7b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions net/ipv6/addrconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 1675c7b

Please sign in to comment.