mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-28 23:52:06 +00:00
BUG/MINOR: quic: Wrong TX packet related counters handling
During the packet number space discarding, do no reset tx.in_flight counter before decrement it from other variables. Furthermore path prep_in_flight counter was not decremented.
This commit is contained in:
parent
411aa6daf5
commit
76fc07e9a0
@ -1029,12 +1029,14 @@ static inline void quic_pktns_discard(struct quic_pktns *pktns,
|
||||
{
|
||||
struct eb64_node *node;
|
||||
|
||||
qc->path->in_flight -= pktns->tx.in_flight;
|
||||
qc->path->prep_in_flight -= pktns->tx.in_flight;
|
||||
qc->path->loss.pto_count = 0;
|
||||
|
||||
pktns->tx.time_of_last_eliciting = 0;
|
||||
pktns->tx.loss_time = TICK_ETERNITY;
|
||||
pktns->tx.pto_probe = 0;
|
||||
pktns->tx.in_flight = 0;
|
||||
qc->path->loss.pto_count = 0;
|
||||
qc->path->in_flight -= pktns->tx.in_flight;
|
||||
|
||||
node = eb64_first(&pktns->tx.pkts);
|
||||
while (node) {
|
||||
|
Loading…
Reference in New Issue
Block a user