From d66896036a9da0333a73f062bda0eea1374dc4da Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Wed, 14 Jun 2023 11:34:47 +0200 Subject: [PATCH] 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. --- include/haproxy/quic_conn.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/haproxy/quic_conn.h b/include/haproxy/quic_conn.h index ba2df6434b..60deeadf50 100644 --- a/include/haproxy/quic_conn.h +++ b/include/haproxy/quic_conn.h @@ -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; -- 2.47.3