diff --git a/include/proto/task.h b/include/proto/task.h index 0c2c5f28c..dc8a54481 100644 --- a/include/proto/task.h +++ b/include/proto/task.h @@ -133,7 +133,7 @@ static inline void task_wakeup(struct task *t, unsigned int f) else root = &rqueue; #else - struct eb_root *root = &rqueue; + struct eb_root *root = &rqueue_local[tid]; #endif state = HA_ATOMIC_OR(&t->state, f);