From 82b8652ac66722c86b0bebd383de25347dd61a71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Tue, 10 Aug 2021 09:54:03 +0200 Subject: [PATCH] MINOR: quic: Missing acks encoded size updates. There were cases where the encoded size of acks was not updated leading to ACK frames building too big compared to the expected size. At this time, this makes the code "BUG_ON()". --- 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 cfd8a6877..e2d2ca6a5 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c @@ -2450,9 +2450,9 @@ int quic_update_ack_ranges_list(struct quic_arngs *arngs, } } + out: quic_arngs_set_enc_sz(arngs); - out: return 1; } /* Remove the header protection of packets at encryption level.