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

Next file: linux/net/core/neighbour.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.119/linux/net/core/iovec.c linux/net/core/iovec.c
@@ -215,7 +215,7 @@
 			partial_cnt = 0;
 		}
 
-		if (len - copy > 0)
+		if (len > copy)
 		{
 			partial_cnt = copy % 4;
 			if (partial_cnt)

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