patch-1.3.42 linux/net/socket.c

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

diff -u --recursive --new-file v1.3.41/linux/net/socket.c linux/net/socket.c
@@ -878,12 +878,12 @@
 	if(err)
 		return err;
 		
+	iov.iov_base=buff;
+	iov.iov_len=len;
 	msg.msg_name=NULL;
 	msg.msg_iov=&iov;
 	msg.msg_iovlen=1;
 	msg.msg_accrights=NULL;
-	iov.iov_base=buff;
-	iov.iov_len=1;
 	return(sock->ops->sendmsg(sock, &msg, len, (file->f_flags & O_NONBLOCK), flags));
 }
 


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