summaryrefslogtreecommitdiff
path: root/sbin/disklabel
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2015-04-27 16:50:17 +0000
committerchristos <christos@NetBSD.org>2015-04-27 16:50:17 +0000
commitf27f9fc02a1add280ff76ee25d8736d89f4ad199 (patch)
tree26a572eb2b0a4d3880bab4ad54d960da53c63ac1 /sbin/disklabel
parentea7c5faaeea4551c48e48d4c71b07810b90687f0 (diff)
Apply Revision 220794 from FreeBSD to avoid dup ACKs:
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. Pointed out by Ricky Charlet, in tech-net.
Diffstat (limited to 'sbin/disklabel')
0 files changed, 0 insertions, 0 deletions