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.
This commit is contained in:
parent
81dc3e67cf
commit
7d190e7df6
@ -181,7 +181,7 @@ struct task *accept_queue_process(struct task *t, void *context, unsigned int st
|
|||||||
if (!max_accept)
|
if (!max_accept)
|
||||||
tasklet_wakeup(ring->tasklet);
|
tasklet_wakeup(ring->tasklet);
|
||||||
|
|
||||||
return NULL;
|
return t;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initializes the accept-queues. Returns 0 on success, otherwise ERR_* flags */
|
/* Initializes the accept-queues. Returns 0 on success, otherwise ERR_* flags */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user