From 654c6917316a1d3ab77a0923d448a95f6d4067aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Fri, 4 Jun 2021 10:27:23 +0200 Subject: [PATCH] MINOR: quic: Do not stop the packet parsing too early in qc_treat_rx_packets() Continue to parse the packets even if we will not be able to acknowledge them. --- src/xprt_quic.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/xprt_quic.c b/src/xprt_quic.c index 074cc601c..f4b95e792 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c @@ -2487,14 +2487,9 @@ int qc_treat_rx_pkts(struct quic_enc_level *el, struct quic_conn_ctx *ctx) el->pktns->rx.largest_pn = pkt->pn; /* Update the list of ranges to acknowledge. */ - if (!quic_update_ack_ranges_list(&el->pktns->rx.arngs, &ar)) { + if (!quic_update_ack_ranges_list(&el->pktns->rx.arngs, &ar)) TRACE_DEVEL("Could not update ack range list", QUIC_EV_CONN_ELRXPKTS, ctx->conn); - node = eb64_next(node); - quic_rx_packet_eb64_delete(&pkt->pn_node); - goto err; - } - } } node = eb64_next(node);