patch-2.1.10 linux/net/ipv6/ipv6_sockglue.c

Next file: linux/net/ipv6/raw.c
Previous file: linux/net/ipv6/ipv6_output.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.9/linux/net/ipv6/ipv6_sockglue.c linux/net/ipv6/ipv6_sockglue.c
@@ -164,10 +164,6 @@
 	{
 		struct in6_addr addr;
 
-		err=verify_area(VERIFY_READ, optval, sizeof(struct in6_addr));
-		if(err)
-			return err;
-
 		err = copy_from_user(&addr, optval, sizeof(struct in6_addr));
 		if(err)
 			return -EFAULT;

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