Commit b1314aa8 authored by Hideaki Yoshifuji's avatar Hideaki Yoshifuji

[IPV6]: Fix order of destruction of procfs.

parent 7e9971e1
...@@ -861,11 +861,11 @@ static void inet6_exit(void) ...@@ -861,11 +861,11 @@ static void inet6_exit(void)
sock_unregister(PF_INET6); sock_unregister(PF_INET6);
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
if6_proc_exit(); if6_proc_exit();
raw6_proc_exit(); proc_net_remove("anycast6");
proc_net_remove("tcp6"); ipv6_misc_proc_exit();
proc_net_remove("udp6"); udp6_proc_exit();
ipv6_misc_proc_exit(); tcp6_proc_exit();
proc_net_remove("anycast6"); raw6_proc_exit();
#endif #endif
/* Cleanup code parts. */ /* Cleanup code parts. */
sit_cleanup(); sit_cleanup();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment