]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quix: Memleak for non in flight TX packets
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 22 Aug 2022 16:47:51 +0000 (18:47 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Mon, 22 Aug 2022 17:06:08 +0000 (19:06 +0200)
commitda9c441886dbfa02840a93e367f65fd6d312c835
treebe053d959ffadb95bc6a3b4dcc73ee6cb89350e1
parent16972e19d47ced43b353261ad35af5b76b1e11c4
BUG/MINOR: quix: Memleak for non in flight TX packets

First, these packets must not be inserted in the tree of TX packets.
They are never explicitely acknowledged (for instance an ACK only
packet will never be acknowledged). Furthermore, if taken into an account
these packets may uselessly disturb the congestion control. We do not care
if they are lost or not. Furthermore as the ->in_fligh_len member value is null
they were not released by qc_release_lost_pkts() which rely on these values
to decide to release the allocated memory for such packets.

Must be backported to 2.6.
src/xprt_quic.c