patch-2.1.32 linux/net/netrom/af_netrom.c
Next file: linux/net/netsyms.c
Previous file: linux/net/netrom/Makefile
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Sat Apr 5 12:14:21 1997
- Orig file:
v2.1.31/linux/net/netrom/af_netrom.c
- Orig date:
Thu Mar 27 14:40:17 1997
diff -u --recursive --new-file v2.1.31/linux/net/netrom/af_netrom.c linux/net/netrom/af_netrom.c
@@ -1376,7 +1376,9 @@
for (i = 0; i < 4; i++)
register_netdev(&dev_nr[i]);
+#ifdef CONFIG_SYSCTL
nr_register_sysctl();
+#endif
#ifdef CONFIG_PROC_FS
proc_net_register(&proc_net_nr);
@@ -1411,8 +1413,9 @@
unregister_netdevice_notifier(&nr_dev_notifier);
+#ifdef CONFIG_SYSCTL
nr_unregister_sysctl();
-
+#endif
sock_unregister(AF_NETROM);
for (i = 0; i < 4; i++) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov