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)
Sun, Apr 7, 5:32 AM
Unknown Object (File)
Sat, Apr 6, 6:05 PM
Unknown Object (File)
Mar 15 2024, 1:37 PM
Unknown Object (File)
Mar 15 2024, 12:55 PM
Unknown Object (File)
Feb 13 2024, 10:33 PM
Unknown Object (File)
Feb 13 2024, 7:47 PM
Unknown Object (File)
Dec 20 2023, 1:23 AM
Unknown Object (File)
Dec 7 2023, 4:39 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.