]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 220794:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 10 Jun 2011 18:51:22 +0000 (18:51 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 10 Jun 2011 18:51:22 +0000 (18:51 +0000)
commitb1d3279583bd56fc270ffa33c307461d1406e05e
tree440b63351d588fce140a34b8845a2ae29b6edbdb
parentd9afe16c33479ff32ba8070202e140af4841000c
MFC 220794:
When checking to see if a window update should be sent to the remote peer,
don't force a window update if the window would not actually grow due to
window scaling.  Specifically, if the window scaling factor is larger than
2 * MSS, then after the local reader has drained 2 * MSS bytes from the
socket, a window update can end up advertising the same window.  If this
happens, the supposed window update actually ends up being a duplicate ACK.
This can result in an excessive number of duplicate ACKs when using a
higher maximum socket buffer size.

git-svn-id: svn://svn.freebsd.org/base/stable/8@222936 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/netinet/tcp_output.c