]> git.kaiwu.me - haproxy.git/commit
CLEANUP: quic: remove a redundant test in the fast retransmission lookups
authorFrederic Lecaille <flecaille@haproxy.com>
Wed, 4 Nov 2026 16:34:40 +0000 (17:34 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Thu, 5 Nov 2026 08:58:36 +0000 (09:58 +0100)
commitbda1c85bb5850fa2ca8ed428b08aeda2a0c65d31
tree6c496a15187fc0e1a1a7244ec156f43275682cf0
parent1ce318349e8986628671ca2ca6929d2d46d25eff
CLEANUP: quic: remove a redundant test in the fast retransmission lookups

qc_pkt_with_only_acked_frms() returns 1 for a packet without any frame,
since its loop is not entered and it falls back on the final return 1.
The LIST_ISEMPTY(&pkt->frms) test combined with it is therefore
redundant, both in qc_prep_fast_retrans() and in
qc_prep_hdshk_fast_retrans().

No functional change, no need to backport.
src/quic_retransmit.c