Page MenuHomeFreeBSD

tcp: add sysctl to allow/disallow TSO during SACK loss recovery
ClosedPublic

Authored by rscheff on May 2 2024, 7:50 PM.
Tags
None
Referenced Files
F132062665: D45068.diff
Mon, Oct 13, 8:07 AM
Unknown Object (File)
Sat, Oct 4, 7:02 AM
Unknown Object (File)
Aug 26 2025, 7:56 AM
Unknown Object (File)
Aug 14 2025, 5:48 PM
Unknown Object (File)
Aug 3 2025, 3:32 PM
Unknown Object (File)
Aug 1 2025, 3:42 PM
Unknown Object (File)
Jul 31 2025, 8:18 AM
Unknown Object (File)
Jul 28 2025, 4:25 AM
Subscribers

Details

Summary

In preparation for the planned changes around making it possible
for TSO to remain operational during SACk loss recovery, add
a sysctl to retain the current behavior

'''net.inet.tcp.sack.tso = 0'''

Once the related changes are committed, the plan is to switch this
in main to "1" - and either retain this for the next release branch,
or revert the setting to 0 depending on feedback.

Note: Prior to D43355 and D43470, the SACK loss recovery code in
tcp_output is broken and would transmit excessively when TSO is
active.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable