MINOR: quic: Comment fix.

When we drop a packet with unknown length, this is the entire datagram which
must be skipped.
This commit is contained in:
Frédéric Lécaille 2021-12-31 16:37:58 +01:00
parent a56054e438
commit f7ef97698a

View File

@ -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,