]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: ticks comparison without ticks API use
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 19 Jun 2023 08:47:24 +0000 (10:47 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 19 Jun 2023 17:05:45 +0000 (19:05 +0200)
commita55acf993a5795ed4f5255b30024a0dba10f15b1
treea1a02ab662cdebbdd4d87afc9bf32dcf157a4f0c
parente6051a04efc0616cc84256cad5ef9b264818daef
BUG/MINOR: quic: ticks comparison without ticks API use

Replace a "less than" comparison between two tick variable by a call to tick_is_lt()
in quic_loss_pktns(). This bug could lead to a wrong packet loss detection
when the loss time computed values could wrap. This is the case 20 seconds after
haproxy has started.

Must be backported as far as 2.6.
src/quic_loss.c