MINOR: tasklet: Set process to NULL.

Some consumers expect the process to be NULL when a tasklet it created, so
do so.
This commit is contained in:
Olivier Houchard 2018-07-19 16:02:16 +02:00 committed by Willy Tarreau
parent 42d55b9b6a
commit 9ddaf794a8
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}