From 9ddaf794a8c1e34b5be767dbb6159dfc037c6560 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Thu, 19 Jul 2018 16:02:16 +0200 Subject: [PATCH] MINOR: tasklet: Set process to NULL. Some consumers expect the process to be NULL when a tasklet it created, so do so. --- include/proto/task.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/proto/task.h b/include/proto/task.h index dd08392d9..d1371f3b0 100644 --- a/include/proto/task.h +++ b/include/proto/task.h @@ -273,6 +273,7 @@ static inline void tasklet_init(struct tasklet *t) t->nice = -32768; t->calls = 0; t->state = 0; + t->process = NULL; LIST_INIT(&t->list); }