From: Olivier Houchard Date: Fri, 25 Apr 2025 11:00:34 +0000 (+0200) Subject: MEDIUM: listener: Make sure w ereturn the tasklet from accept_queue_process X-Git-Tag: v3.2-dev13~81 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7d190e7df63db30c388050292d17a2a24869cf82;p=thirdparty%2Fhaproxy.git MEDIUM: listener: Make sure w ereturn the tasklet from accept_queue_process In accept_queue_process, 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/listener.c b/src/listener.c index c161c885b..4ed3db7ba 100644 --- a/src/listener.c +++ b/src/listener.c @@ -181,7 +181,7 @@ struct task *accept_queue_process(struct task *t, void *context, unsigned int st if (!max_accept) tasklet_wakeup(ring->tasklet); - return NULL; + return t; } /* Initializes the accept-queues. Returns 0 on success, otherwise ERR_* flags */