mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-02-26 11:41:50 +01:00
BUG/MINOR: quic: wrong logical statement in in_recovery_period() (BBR)
A && logical operator was badly replaced by a || in this function which decides if BBR is in a recovery period. Must be backported to 3.1.
This commit is contained in:
parent
a9a2f98f86
commit
1dbf6b8bed
@ -1296,7 +1296,7 @@ static void bbr_update_control_parameters(struct bbr *bbr,
|
||||
|
||||
static inline int in_recovery_period(struct quic_cc_path *p, uint32_t ts)
|
||||
{
|
||||
return tick_isset(p->recovery_start_ts) ||
|
||||
return tick_isset(p->recovery_start_ts) &&
|
||||
tick_is_le(ts, p->recovery_start_ts);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user