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)
Sat, Dec 20, 2:51 PM
Unknown Object (File)
Sat, Dec 20, 12:37 PM
Unknown Object (File)
Nov 28 2025, 7:03 PM
Unknown Object (File)
Nov 23 2025, 2:55 AM
Unknown Object (File)
Nov 22 2025, 9:45 PM
Unknown Object (File)
Nov 22 2025, 9:04 PM
Unknown Object (File)
Nov 5 2025, 11:42 AM
Unknown Object (File)
Nov 5 2025, 11:05 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