Page MenuHomeFreeBSD

tcp: fix TCPSTAT accounting for SACK
ClosedPublic

Authored by rscheff on Jan 13 2024, 4:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 27, 1:23 AM
Unknown Object (File)
Dec 15 2025, 10:40 PM
Unknown Object (File)
Dec 11 2025, 10:41 AM
Unknown Object (File)
Nov 26 2025, 1:54 AM
Unknown Object (File)
Nov 21 2025, 1:12 PM
Unknown Object (File)
Nov 5 2025, 8:54 PM
Unknown Object (File)
Oct 29 2025, 11:54 AM
Unknown Object (File)
Oct 29 2025, 11:41 AM
Subscribers

Details

Summary

Move the accounting for SACK retransmitted bytes down
to where the actual length (tcp header options, ip options)
is known. This also prevents calculating the header lengths
twice during output processing by not calling tcp_maxseg()

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 55423
Build 52312: arc lint + arc unit