From: Amaury Denoyelle Date: Thu, 24 Nov 2022 16:15:08 +0000 (+0100) Subject: MINOR: quic: complete traces in qc_rx_pkt_handle() X-Git-Tag: v2.8-dev1~198 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f474e64c85da37e65c1c58dddc48a474dc0d6a3;p=thirdparty%2Fhaproxy.git MINOR: quic: complete traces in qc_rx_pkt_handle() Add missing ENTER trace for qc_rx_pkt_handle() function. LEAVE traces are already present. This should be backported up to 2.7. --- diff --git a/src/quic_conn.c b/src/quic_conn.c index 2095263e30..8bf19e7bcf 100644 --- a/src/quic_conn.c +++ b/src/quic_conn.c @@ -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) {