patch-pre2.0.5 linux/net/core/iovec.c

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

diff -u --recursive --new-file pre2.0.4/linux/net/core/iovec.c linux/net/core/iovec.c
@@ -41,9 +41,9 @@
 			return err;
 		m->msg_name = address;
 	}
-	if(m->msg_accrights!=NULL)
+	if(m->msg_control!=NULL)
 	{
-		err=verify_area(mode, m->msg_accrights, m->msg_accrightslen);
+		err=verify_area(mode, m->msg_control, m->msg_controllen);
 		if(err)
 			return err;
 	}

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