]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: Buggy acknowlegments of acknowlegments function
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 2 May 2023 06:57:37 +0000 (08:57 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 11 May 2023 08:33:23 +0000 (10:33 +0200)
commit0dd4fa58e6ead1a6723a6a126f9e8b0e6979d9c3
tree5ed95b5ff175e5cc4246d9e9204829c332c397fc
parentd7d507aa8a6fcfe1518d68d5c8f8330d7ecd0130
BUG/MINOR: quic: Buggy acknowlegments of acknowlegments function

qc_treat_ack_of_ack() must remove ranges of acknowlegments from an ebtree which
have been acknowledged. This is done keeping track of the largest acknowledged
packet number which has been acknowledged and sent with an ack-eliciting packet.
But due to the data structure of the acknowledgement ranges used to build an ACK frame,
one must leave at least one range in such an ebtree which must at least contain
a unique one-element range with the largest acknowledged packet number as element.

This issue was revealed by @Tristan971 in GH #2140.

Must be backported in 2.7 and 2.6.
src/quic_conn.c