patch-2.1.80 linux/net/ipv6/ndisc.c

Next file: linux/net/netsyms.c
Previous file: linux/net/ipv4/tcp_output.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.79/linux/net/ipv6/ndisc.c linux/net/ipv6/ndisc.c
@@ -1199,7 +1199,9 @@
 void ndisc_cleanup(void)
 {
 #ifdef CONFIG_PROC_FS
+#ifndef CONFIG_RTNETLINK
         proc_net_unregister(ndisc_proc_entry.low_ino);
+#endif
 #endif
 	neigh_table_clear(&nd_tbl);
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov