Skip to content
  • Randall Stewart's avatar
    tcp: In rack, we must only convert restored rtt when the hostcache does restore them. · 4b86a24a
    Randall Stewart authored
    Rack now after the previous commit is very careful to translate any
    value in the hostcache for srtt/rttvar into its proper format. However
    there is a snafu here in that if tp->srtt is 0 is the only time that
    the HC will actually restore the srtt. We need to then only convert
    the srtt restored when it is actually restored. We do this by making
    sure it was zero before the call to cc_conn_init and it is non-zero
    afterwards.
    
    Reviewed by:	Michael Tuexen
    Sponsored by: Netflix Inc
    Differential Revision:	https://reviews.freebsd.org/D30213
    4b86a24a