BUG/MEDIUM: quic: Possible crash with released mux

It is possible the xprt layer have to process retransmitted STREAM frames after
the mux was released. In this case, there is no need to try to wake it up.
This commit is contained in:
Frédéric Lécaille 2022-04-20 15:59:07 +02:00 committed by Amaury Denoyelle
parent 85c0ff5987
commit 89a2ceb1fb

View File

@ -1544,7 +1544,7 @@ static inline void qc_treat_acked_tx_frm(struct quic_conn *qc,
pool_free(pool_head_quic_frame, frm);
}
if (stream_acked) {
if (stream_acked && qc->mux_state == QC_MUX_READY) {
struct qcc *qcc = qc->qcc;
if (qcc->subs && qcc->subs->events & SUB_RETRY_SEND) {