patch-1.3.81 linux/net/socket.c

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

diff -u --recursive --new-file v1.3.80/linux/net/socket.c linux/net/socket.c
@@ -65,7 +65,10 @@
 #include <linux/netdevice.h>
 #include <linux/proc_fs.h>
 #include <linux/firewall.h>
+
+#ifdef CONFIG_KERNELD
 #include <linux/kerneld.h>
+#endif
 
 #include <net/netlink.h>
 
@@ -1027,7 +1030,7 @@
 	  	return err;
   
   	msg.msg_accrights=NULL;
-  	msg.msg_iovlen=0;
+  	msg.msg_iovlen=1;
   	msg.msg_iov=&iov;
   	iov.iov_len=size;
   	iov.iov_base=ubuf;


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