From: Olivier Houchard Date: Fri, 25 Apr 2025 11:02:47 +0000 (+0200) Subject: MEDIUM: quic: Make sure we return NULL in quic_conn_app_io_cb if needed X-Git-Tag: v3.2-dev13~78 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5838786fa0e12ec09d430d2d569b7955c6348f68;p=thirdparty%2Fhaproxy.git 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. --- 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; }