patch-2.1.22 linux/net/core/iovec.c

Next file: linux/net/core/net_alias.c
Previous file: linux/net/core/dev_mcast.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.21/linux/net/core/iovec.c linux/net/core/iovec.c
@@ -60,14 +60,6 @@
 	} else
 		m->msg_name = NULL;
 
-	if(m->msg_controllen)
-	{
-		err=verify_area(mode, m->msg_control, m->msg_controllen);
-		if(err)
-			return err;
-	} else
-		m->msg_control = NULL;
-
 	if (m->msg_iovlen > UIO_FASTIOV)
 	{
 		iov = kmalloc(m->msg_iovlen*sizeof(struct iovec), GFP_KERNEL);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov