mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
[IPV6]: remove duplicate call to proc_net_remove
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>
This commit is contained in:
parent
310928d963
commit
1675c7b254
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user