patch-2.0.38 linux/net/ipv4/tcp.c

Next file: linux/net/ipv4/tcp_input.c
Previous file: linux/include/asm-i386/pgtable.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.37/linux/net/ipv4/tcp.c linux/net/ipv4/tcp.c
@@ -1236,7 +1236,7 @@
 					 *	this frame.
 					 */
 					 
-					if (copy <= 0)
+					if (tcp_size >= sk->mss)
 					{
 						/*
 						 *	Send the now forced complete frame out. 

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