]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
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)
committerFrederic Lecaille <flecaille@haproxy.com>
Fri, 13 Dec 2024 18:41:21 +0000 (19:41 +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.

src/quic_cc_bbr.c

index 3f49417eecd1ad01b02d3ed1065041d5f9f7f855..86763ef36f0d23af3b71de0ed3fb159bbc444935 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;
 }