From d5066dd9dd770d95f1ad2ea0f2a806f0a2d9fcfa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Thu, 10 Mar 2022 17:06:59 +0100 Subject: [PATCH] BUG/MEDIUM: quic: qc_prep_app_pkts() retries on qc_build_pkt() failures The "stop_build" label aim is to try to reuse the TX buffer when there is not enough contiguous room to build a packet. It was defined but not used! --- 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 5bf1b2a05e..9b2e38c55b 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c @@ -2527,7 +2527,7 @@ static int qc_prep_app_pkts(struct quic_conn *qc, struct qring *qr, case -2: goto err; case -1: - goto out; + goto stop_build; default: break; } -- 2.39.5