From: Olivier Houchard Date: Thu, 19 Jul 2018 14:02:16 +0000 (+0200) Subject: MINOR: tasklet: Set process to NULL. X-Git-Tag: v1.9-dev1~167 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9ddaf794a8c1e34b5be767dbb6159dfc037c6560;p=thirdparty%2Fhaproxy.git MINOR: tasklet: Set process to NULL. Some consumers expect the process to be NULL when a tasklet it created, so do so. --- diff --git a/include/proto/task.h b/include/proto/task.h index dd08392d9e..d1371f3b01 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); }