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)
Wed, Oct 8, 10:11 AM
Unknown Object (File)
Sat, Oct 4, 6:51 AM
Unknown Object (File)
Fri, Sep 26, 10:31 PM
Unknown Object (File)
Thu, Sep 25, 6:34 PM
Unknown Object (File)
Wed, Sep 17, 3:44 PM
Unknown Object (File)
Thu, Sep 11, 2:00 AM
Unknown Object (File)
Wed, Sep 10, 11:06 PM
Unknown Object (File)
Sep 2 2025, 8:38 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 Not Applicable
Unit
Tests Not Applicable