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.
(cherry picked from commit d66896036a9da0333a73f062bda0eea1374dc4da)
Signed-off-by: William Lallemand <wlallemand@haproxy.org>
diff --git a/include/haproxy/quic_conn.h b/include/haproxy/quic_conn.h
index ba2df64..60deead 100644
--- a/include/haproxy/quic_conn.h
+++ b/include/haproxy/quic_conn.h
@@ -413,6 +413,7 @@
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;