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)
Thu, Mar 7, 4:27 PM
Unknown Object (File)
Feb 12 2024, 4:08 PM
Unknown Object (File)
Dec 25 2023, 8:37 PM
Unknown Object (File)
Dec 24 2023, 1:43 PM
Unknown Object (File)
Dec 14 2023, 10:12 PM
Unknown Object (File)
Nov 9 2023, 2:28 PM
Unknown Object (File)
Oct 11 2023, 9:09 PM
Unknown Object (File)
Oct 5 2023, 6:36 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