From 7d190e7df63db30c388050292d17a2a24869cf82 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Fri, 25 Apr 2025 13:00:34 +0200 Subject: [PATCH] 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. --- src/listener.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */