Page MenuHomeFreeBSD

Improve sending of TCP window updates
ClosedPublic

Authored by tuexen on Feb 7 2017, 1:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 6, 7:02 AM
Unknown Object (File)
Wed, Dec 4, 10:28 AM
Unknown Object (File)
Nov 27 2024, 6:55 PM
Unknown Object (File)
Nov 27 2024, 6:52 PM
Unknown Object (File)
Nov 19 2024, 6:44 AM
Unknown Object (File)
Nov 18 2024, 1:35 PM
Unknown Object (File)
Oct 31 2024, 5:32 PM
Unknown Object (File)
Oct 27 2024, 12:17 PM
Subscribers

Details

Summary

An issue with the sending of window updates was reported in PR 211003. Window updates are only sent if the window can be increased by at least 2 * MSS. However, if the receive buffer size is small, this might be impossible.

Add back a criterion to send a TCP window update if the window can be increased by at least half of the receive buffer size. This condition was remove in r242252.
This patch simply brings it back.

Test Plan

Get the packetdrill test

working.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tuexen retitled this revision from to Improve sending of TCP window updates.
tuexen updated this object.
tuexen edited the test plan for this revision. (Show Details)
tuexen added reviewers: transport, hiren, rrs, gnn.
tuexen set the repository for this revision to rS FreeBSD src repository - subversion.
gnn edited edge metadata.
This revision is now accepted and ready to land.Feb 9 2017, 5:48 PM
This revision was automatically updated to reflect the committed changes.