From: Frédéric Lécaille Date: Tue, 10 Aug 2021 07:54:03 +0000 (+0200) Subject: MINOR: quic: Missing acks encoded size updates. X-Git-Tag: v2.5-dev8~78 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=82b8652ac66722c86b0bebd383de25347dd61a71;p=thirdparty%2Fhaproxy.git 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()". --- diff --git a/src/xprt_quic.c b/src/xprt_quic.c index cfd8a68770..e2d2ca6a59 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.