BUG/MINOR: quic: Missing recovery start timer reset

The recovery start time must be reset after a persistent congestion has been
detected.
This commit is contained in:
Frédéric Lécaille 2022-03-01 15:09:45 +01:00 committed by Amaury Denoyelle
parent 05e30ee7d5
commit 4d3d36b670

View File

@ -111,6 +111,7 @@ static void quic_cc_nr_ca_cb(struct quic_cc *cc, struct quic_cc_event *ev)
cc->algo_state.nr.cwnd = path->min_cwnd;
/* Re-entering slow start state. */
cc->algo_state.nr.state = QUIC_CC_ST_SS;
cc->algo_state.nr.recovery_start_time = 0;
}
path->cwnd = cc->algo_state.nr.cwnd;
break;