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

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

diff -u --recursive --new-file v2.1.10/linux/net/core/iovec.c linux/net/core/iovec.c
@@ -94,9 +94,8 @@
 		{
 			int copy = min(iov->iov_len,len);
 			err = copy_to_user(iov->iov_base,kdata,copy);
-			if (err) {
-				return err; 
-			}
+			if (err) 
+			    return err;
 			kdata+=copy;
 			len-=copy;
 			iov->iov_len-=copy;

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