]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic: Wrong loss delay computation
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 14 Feb 2022 12:56:42 +0000 (13:56 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 15 Feb 2022 16:23:44 +0000 (17:23 +0100)
I really do not know where does this statement come from even after having
checked several drafts.

src/xprt_quic.c

index dc487b2c8bbf9529cb955416053a7e15ed8a574e..f4a825b79221cd083bc6904be0050567bc6890b4 100644 (file)
@@ -1670,7 +1670,6 @@ static void qc_packet_loss_lookup(struct quic_pktns *pktns,
 
        ql = &qc->path->loss;
        loss_delay = QUIC_MAX(ql->latest_rtt, ql->srtt >> 3);
-       loss_delay += loss_delay >> 3;
        loss_delay = QUIC_MAX(loss_delay, MS_TO_TICKS(QUIC_TIMER_GRANULARITY));
 
        node = eb64_first(pkts);