Subject: changed files: 'src/sys/netinet tcp_input.c'
To: None <source-changes>
From: Charles Hannum <mycroft>
List: source-changes
Date: 04/25/1994 12:16:57
Update of /b/source/CVS/src/sys/netinet
In directory sun-lamp.cs.berkeley.edu:/d/users/mycroft/src/sys/netinet

Modified Files:
	tcp_input.c 
Log Message:
As I described this on comp.protocols.tcp-ip:

I've found a problem with the TCP delayed ack algorithm.  If the writer's
buffer becomes full before sending an entire window, the writer will stop
and the ack will be delayed and the transmission will be stalled pending
a timeout on (and transmission of) the delayed ack.

As an experiment, I've applied the following patch to my (NetBSD) kernel,
and it alleviates the problem.

The worst case for this change is that the writer sets the PSH bit on
every outgoing packet, in which case delayed ack is effectively disabled.
This is not an issue of correctness, however, and since most vendors use
the PSH bit a bit more intelligently, it doesn't seem like a serious
problem.


------------------------------------------------------------------------------