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

Next file: linux/net/ipv6/udp.c
Previous file: linux/net/ipv6/addrconf.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.28/linux/net/ipv6/ndisc.c linux/net/ipv6/ndisc.c
@@ -1843,11 +1843,7 @@
 	add_timer(&ndisc_gc_timer);
 
 #ifdef CONFIG_PROC_FS
-#ifdef CONFIG_IPV6_MODULE
-        proc_register_dynamic(&proc_net, &ndisc_proc_entry);
-#else
 	proc_net_register(&ndisc_proc_entry);
-#endif
 #endif
 #ifdef CONFIG_IPV6_MODULE
 	ndisc_eth_hook = ndisc_eth_resolv;

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