mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-01 10:45:49 +00:00
ipv6: Fix useless proc net sockstat6 removal
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> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
785957d3e8
commit
17ef51fce0
@ -286,7 +286,6 @@ int __init ipv6_misc_proc_init(void)
|
||||
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user