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)
Sat, Apr 19, 5:25 AM
Unknown Object (File)
Wed, Apr 16, 5:38 AM
Unknown Object (File)
Thu, Apr 10, 4:59 PM
Unknown Object (File)
Thu, Apr 10, 3:52 PM
Unknown Object (File)
Thu, Apr 10, 12:42 PM
Unknown Object (File)
Thu, Apr 10, 8:34 AM
Unknown Object (File)
Mar 22 2025, 4:31 AM
Unknown Object (File)
Feb 25 2025, 2:46 AM
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