patch-pre2.0.10 linux/net/netrom/af_netrom.c

Next file: linux/scripts/Configure
Previous file: linux/net/ipx/af_ipx.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.9/linux/net/netrom/af_netrom.c linux/net/netrom/af_netrom.c
@@ -1418,6 +1418,7 @@
 	nr_default.window     = NR_DEFAULT_WINDOW;
 	nr_default.paclen     = NR_DEFAULT_PACLEN;
 
+#ifdef CONFIG_PROC_FS
 	proc_net_register(&(struct proc_dir_entry) {
 		PROC_NET_NR, 2, "nr",
 		S_IFREG | S_IRUGO, 1, 0, 0,
@@ -1436,6 +1437,7 @@
 		0, &proc_net_inode_operations, 
 		nr_nodes_get_info
 	});
+#endif	
 }
 
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this