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, Jun 23, 12:06 AM
Unknown Object (File)
Fri, Jun 19, 1:40 PM
Unknown Object (File)
Sat, Jun 13, 5:05 PM
Unknown Object (File)
May 20 2026, 7:07 AM
Unknown Object (File)
May 18 2026, 12:25 AM
Unknown Object (File)
May 18 2026, 12:21 AM
Unknown Object (File)
May 11 2026, 3:54 AM
Unknown Object (File)
May 11 2026, 2: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