MEDIUM: quic: Make sure we return NULL in quic_conn_app_io_cb if needed

In quic_conn_app_io_cb, make sure we return NULL if the tasklet has been
destroyed, so that the scheduler knows. It is not yet needed, but will
be soon.
This commit is contained in:
Olivier Houchard 2025-04-25 13:02:47 +02:00
parent 15c5846db8
commit 5838786fa0

View File

@ -626,6 +626,7 @@ struct task *quic_conn_app_io_cb(struct task *t, void *context, unsigned int sta
out:
if ((qc->flags & QUIC_FL_CONN_CLOSING) && qc->mux_state != QC_MUX_READY) {
quic_conn_release(qc);
t = NULL;
qc = NULL;
}