BUG/MINOR: quic: missing Startup accelerating probing bw states
authorFrederic Lecaille <flecaille@haproxy.com>
Fri, 13 Dec 2024 18:27:23 +0000 (19:27 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 6 Jan 2025 10:19:53 +0000 (11:19 +0100)
Startup state is also a probing with acceleration bandwidth state.
This modification should have come with this previous one:

  BUG/MINOR: quic: reduce packet losses at least during ProbeBW_CRUISE (BBR)

Must be backported to 3.1.

(cherry picked from commit 0dc0c890ea20f3af76ae4f4f7422718bcd8f6605)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>

src/quic_cc_bbr.c

index 3f49417..86763ef 100644 (file)
@@ -1028,7 +1028,8 @@ static void bbr_loss_lower_bounds(struct bbr *bbr)
 
 static inline int bbr_is_accelerating_probing_bw(struct bbr *bbr)
 {
-       return bbr->state == BBR_ST_PROBE_BW_REFILL ||
+       return bbr->state == BBR_ST_STARTUP ||
+               bbr->state == BBR_ST_PROBE_BW_REFILL ||
                bbr->state == BBR_ST_PROBE_BW_UP;
 }