BUG/MINOR: quic: Missing initialization (packet number space probing)

->tx.pto_probe member of quic_pktns struct was not initialized by quic_pktns_init().
This bug never occured because all quic_pktns structs are attached to quic_conn
structs which are always pool_zalloc()'ed.

Must be backported as far as 2.6.
This commit is contained in:
Frédéric Lécaille 2023-06-14 11:34:47 +02:00
parent 4e17a3f5b1
commit d66896036a

View File

@ -413,6 +413,7 @@ static inline void quic_pktns_init(struct quic_pktns *pktns)
pktns->tx.pkts = EB_ROOT_UNIQUE;
pktns->tx.time_of_last_eliciting = 0;
pktns->tx.loss_time = TICK_ETERNITY;
pktns->tx.pto_probe = 0;
pktns->tx.in_flight = 0;
pktns->tx.ack_delay = 0;