mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-11 05:48:41 +00:00
BUG/MINOR: quic: reappend rxbuf buffer on fake dgram alloc error
A thread must always reappend the rxbuf instance after finishing
datagram reception treatment. This was not the case on one error code
path : when fake datagram allocation fails on datagram requeing.
This issue was introduced with the following patch :
commit b34d353968
BUG/MEDIUM: quic: consume contig space on requeue datagram
As such, it must be backported in every version with the above commit.
This commit is contained in:
parent
2efc9e0fb4
commit
f59635c495
@ -749,6 +749,7 @@ int qc_rcv_buf(struct quic_conn *qc)
|
||||
struct quic_dgram *fake_dgram = pool_alloc(pool_head_quic_dgram);
|
||||
if (!fake_dgram) {
|
||||
/* TODO count lost datagrams */
|
||||
MT_LIST_APPEND(&l->rx.rxbuf_list, &rxbuf->rxbuf_el);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user