]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic: complete traces in qc_rx_pkt_handle()
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 24 Nov 2022 16:15:08 +0000 (17:15 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 2 Dec 2022 13:45:43 +0000 (14:45 +0100)
Add missing ENTER trace for qc_rx_pkt_handle() function. LEAVE traces
are already present.

This should be backported up to 2.7.

src/quic_conn.c

index 2095263e306da7605f16c497e678694056a3203e..8bf19e7bcf88da2337055a679865cf796f25518f 100644 (file)
@@ -6335,6 +6335,8 @@ static void qc_rx_pkt_handle(struct quic_conn *qc, struct quic_rx_packet *pkt,
        size_t b_cspace;
        int io_cb_wakeup = 1;
 
+       TRACE_ENTER(QUIC_EV_CONN_LPKT, qc, pkt, NULL, qv);
+
        if (pkt->flags & QUIC_FL_RX_PACKET_DGRAM_FIRST &&
            !quic_peer_validated_addr(qc) &&
            qc->flags & QUIC_FL_CONN_ANTI_AMPLIFICATION_REACHED) {