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
Unknown Object (File)
Mon, Oct 13, 9:41 PM
Unknown Object (File)
Mon, Oct 13, 9:41 PM
Unknown Object (File)
Mon, Oct 13, 9:41 PM
Unknown Object (File)
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
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