Subject: CVS commit: syssrc/sys/netinet
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 08/20/2002 19:29:42
Module Name: syssrc
Committed By: thorpej
Date: Tue Aug 20 16:29:42 UTC 2002
Modified Files:
syssrc/sys/netinet: tcp_output.c
Log Message:
Never send more than half a socket buffer of data. This insures that
we can always keep 2 packets on the wire, no matter what SO_SNDBUF is,
and therefore ACKs will never be delayed unless we run out of data to
transmit. The problem is quite easy to tickle when the MTU of the
outgoing interface is larger than the socket buffer size (e.g. loopback).
Fix from Charles Hannum.
To generate a diff of this commit:
cvs rdiff -r1.84 -r1.85 syssrc/sys/netinet/tcp_output.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.