From f7ef97698ab93584d86b4ef91ac4239fd34e3e73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Fri, 31 Dec 2021 16:37:58 +0100 Subject: [PATCH] MINOR: quic: Comment fix. When we drop a packet with unknown length, this is the entire datagram which must be skipped. --- src/xprt_quic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xprt_quic.c b/src/xprt_quic.c index 9ab675c1d..3ba009fa5 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c @@ -4259,7 +4259,7 @@ static ssize_t qc_lstnr_pkt_rcv(unsigned char *buf, const unsigned char *end, return pkt->len; err: - /* If length not found, consume the entire packet */ + /* If length not found, consume the entire datagram */ if (!pkt->len) pkt->len = end - beg; TRACE_DEVEL("Leaving in error", QUIC_EV_CONN_LPKT,