patch-1.3.31 linux/net/socket.c

Next file: linux/CREDITS
Previous file: linux/net/netlink.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.30/linux/net/socket.c linux/net/socket.c
@@ -64,6 +64,8 @@
 #include <linux/netdevice.h>
 #include <linux/proc_fs.h>
 
+#include <net/netlink.h>
+
 #include <asm/system.h>
 #include <asm/segment.h>
 
@@ -1285,13 +1287,21 @@
 {
 	int i;
 
-	printk("Swansea University Computer Society NET3.031 Snap #1 for Linux 1.3.25\n");
+	printk("Swansea University Computer Society NET3.031 Snap #3 for Linux 1.3.30\n");
 
 	/*
 	 *	Initialize all address (protocol) families. 
 	 */
 	 
 	for (i = 0; i < NPROTO; ++i) pops[i] = NULL;
+	
+	/*
+	 *	The netlink device handler may be needed early.
+	 */
+
+#ifdef CONFIG_NETLINK
+	init_netlink();
+#endif		 
 
 	/*
 	 *	Initialize the protocols module. 


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