Page MenuHomeFreeBSD

Rack conversion in host cache needs to be conditional on the host cache being used.
ClosedPublic

Authored by rrs on May 11 2021, 11:31 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 12, 4:45 PM
Unknown Object (File)
Sun, Oct 12, 4:45 PM
Unknown Object (File)
Sun, Oct 12, 4:45 PM
Unknown Object (File)
Sun, Oct 12, 5:12 AM
Unknown Object (File)
Mon, Oct 6, 8:25 AM
Unknown Object (File)
Fri, Oct 3, 1:42 AM
Unknown Object (File)
Tue, Sep 16, 10:19 PM
Unknown Object (File)
Aug 28 2025, 5:47 PM
Subscribers

Details

Summary

Looking at the hostcache conversion it is subject to when we do *not* have an RTT. So
in such a case rack could in theory incorrectly convert its already converted rtt/rrtvar and
mess up the initial RTT. We instead need to grab the srtt before we grab entries
from the host cache, and only if we got something from the hc do the update.

Test Plan

Test with pkt-drill to make sure when the srtt is non-zero we stick with the old value.s

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable