]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: fix discarding of already stored out-of-order ACK
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 9 Oct 2024 10:03:36 +0000 (12:03 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 9 Oct 2024 15:32:30 +0000 (17:32 +0200)
commitf0049d0748542153266ff9eb5620d2a7929eb103
tree3c69022c14a470f599f838534280dc2f126c7eb8
parentf88f162868df9053ca71e3be0628221c36153d9a
BUG/MINOR: quic: fix discarding of already stored out-of-order ACK

To properly decount out-of-order acked data range, contiguous or
overlapping ranges are first merged before their insertion in a tree.

The first step ensure that a newly reported range is not completely
covered by the existing tree ranges. However, one of the condition was
incorrect. Fix this to ensure that the final range tree does not contain
duplicated entry.

The impact of this bug is unknown. However, it may have allowed the
insertion of overlapping ranges, which could in turn cause an error in
QUIC MUX txbuf window, with a possible transfer freeze.

No need to backport.
src/quic_stream.c