提交 17ef51fc 编写于 作者: D Daniel Lezcano 提交者: David S. Miller

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: NDaniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 785957d3
...@@ -286,7 +286,6 @@ int __init ipv6_misc_proc_init(void) ...@@ -286,7 +286,6 @@ int __init ipv6_misc_proc_init(void)
void ipv6_misc_proc_exit(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, "dev_snmp6");
proc_net_remove(&init_net, "snmp6"); proc_net_remove(&init_net, "snmp6");
unregister_pernet_subsys(&ipv6_proc_ops); unregister_pernet_subsys(&ipv6_proc_ops);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册