Page MenuHomeFreeBSD

tcp: fix TCPSTAT accounting for SACK
ClosedPublic

Authored by rscheff on Jan 13 2024, 4:19 PM.
Tags
None
Referenced Files
F85397125: D43447.diff
Wed, Jun 5, 1:38 PM
Unknown Object (File)
Sat, May 11, 7:48 PM
Unknown Object (File)
Sat, May 11, 6:25 AM
Unknown Object (File)
Sat, May 11, 1:39 AM
Unknown Object (File)
Apr 28 2024, 2:09 PM
Unknown Object (File)
Apr 26 2024, 2:58 AM
Unknown Object (File)
Mar 25 2024, 10:36 PM
Unknown Object (File)
Mar 2 2024, 4:42 PM
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