From 5838786fa0e12ec09d430d2d569b7955c6348f68 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Fri, 25 Apr 2025 13:02:47 +0200 Subject: [PATCH] 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. --- src/quic_conn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/quic_conn.c b/src/quic_conn.c index a6fbb2cc5..547c89817 100644 --- a/src/quic_conn.c +++ b/src/quic_conn.c @@ -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; }