mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-05-01 23:39:32 +00:00
MINOR: quic: Trace fix in qc_release_frm()
This wrong trace came with this commit: "BUG/MINOR: quic: Possible crashes when dereferencing ->pkt quic_frame struct member" In qc_release_frm() we mark frames as acked. Nothing to see with references to frames. Thank you to Willy for having caught this one. Must be backported to 2.6 as these traces arrived with a bug fix to be backported to 2.6.
This commit is contained in:
parent
e4c3074c00
commit
a846a17fde
@ -1510,7 +1510,7 @@ void qc_release_frm(struct quic_conn *qc, struct quic_frame *frm)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
/* XXX TODO: what must be done for such a frame */
|
/* XXX TODO: what must be done for such a frame */
|
||||||
TRACE_DEVEL("remove frame reference for unsent frame",
|
TRACE_DEVEL("mark frame as acked for unsent frame",
|
||||||
QUIC_EV_CONN_PRSAFRM, qc, f);
|
QUIC_EV_CONN_PRSAFRM, qc, f);
|
||||||
}
|
}
|
||||||
f->flags |= QUIC_FL_TX_FRAME_ACKED;
|
f->flags |= QUIC_FL_TX_FRAME_ACKED;
|
||||||
|
Loading…
Reference in New Issue
Block a user