]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: underflow issue for bbr_inflight_hi_from_lost_packet()
authorFrederic Lecaille <flecaille@haproxy.com>
Thu, 12 Dec 2024 11:04:14 +0000 (12:04 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Fri, 13 Dec 2024 13:42:43 +0000 (14:42 +0100)
commitebfc301d5d8dbae0c07a9d937bef18d5c3f841c6
treebfb61f857b2a65fee0eed6f87ad2503346b0f08a
parent22ab45a3a84d0a9a61cc90c6efedd893dd1cbe4a
BUG/MINOR: quic: underflow issue for bbr_inflight_hi_from_lost_packet()

Add a test to ensure that values of a local variable used by
bbr_inflight_hi_from_lost_packet() is not be impacted by underflow issues
when subtracting too big numbers and make this function return a correct value.

Must be backported to 3.1.
src/quic_cc_bbr.c