From: Olivier Houchard Date: Fri, 25 Apr 2025 10:59:37 +0000 (+0200) Subject: MEDIUM: checks: Make sure we return the tasklet from srv_chk_io_cb X-Git-Tag: v3.2-dev13~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81dc3e67cf4d5f4eac66696bdf51fcfb5cc9f303;p=thirdparty%2Fhaproxy.git MEDIUM: checks: Make sure we return the tasklet from srv_chk_io_cb In srv_chk_io_cb, return the tasklet to tell the scheduler the tasklet is still alive, it is not yet needed, but will be soon. --- diff --git a/src/check.c b/src/check.c index 4ebf8d937..4473e008f 100644 --- a/src/check.c +++ b/src/check.c @@ -1105,7 +1105,7 @@ struct task *srv_chk_io_cb(struct task *t, void *ctx, unsigned int state) struct stconn *sc = ctx; wake_srv_chk(sc); - return NULL; + return t; } /* returns <0, 0, >0 if check thread 1 is respectively less loaded than,