patch-pre2.0.5 linux/net/socket.c

Next file: linux/net/unix/af_unix.c
Previous file: linux/net/ipv4/tcp_output.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.4/linux/net/socket.c linux/net/socket.c
@@ -351,7 +351,7 @@
 	msg.msg_name=NULL;
 	msg.msg_iov=&iov;
 	msg.msg_iovlen=1;
-	msg.msg_accrights=NULL;
+	msg.msg_control=NULL;
 	iov.iov_base=ubuf;
 	iov.iov_len=size;
 
@@ -386,7 +386,7 @@
 	msg.msg_name=NULL;
 	msg.msg_iov=&iov;
 	msg.msg_iovlen=1;
-	msg.msg_accrights=NULL;
+	msg.msg_control=NULL;
 	iov.iov_base=(void *)ubuf;
 	iov.iov_len=size;
 	
@@ -919,7 +919,7 @@
 	msg.msg_name=NULL;
 	msg.msg_iov=&iov;
 	msg.msg_iovlen=1;
-	msg.msg_accrights=NULL;
+	msg.msg_control=NULL;
 	return(sock->ops->sendmsg(sock, &msg, len, (file->f_flags & O_NONBLOCK), flags));
 }
 
@@ -959,7 +959,7 @@
 	msg.msg_namelen=addr_len;
 	msg.msg_iov=&iov;
 	msg.msg_iovlen=1;
-	msg.msg_accrights=NULL;
+	msg.msg_control=NULL;
 	return(sock->ops->sendmsg(sock, &msg, len, (file->f_flags & O_NONBLOCK),
 		flags));
 }
@@ -994,7 +994,7 @@
 	msg.msg_name=NULL;
 	msg.msg_iov=&iov;
 	msg.msg_iovlen=1;
-	msg.msg_accrights=NULL;
+	msg.msg_control=NULL;
 	iov.iov_base=ubuf;
 	iov.iov_len=size;
 
@@ -1030,7 +1030,7 @@
 	if(err)
 	  	return err;
   
-  	msg.msg_accrights=NULL;
+  	msg.msg_control=NULL;
   	msg.msg_iovlen=1;
   	msg.msg_iov=&iov;
   	iov.iov_len=size;

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