projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42d55b9
)
MINOR: tasklet: Set process to NULL.
author
Olivier Houchard
<ohouchard@haproxy.com>
Thu, 19 Jul 2018 14:02:16 +0000
(16:02 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Thu, 19 Jul 2018 14:23:08 +0000
(16:23 +0200)
Some consumers expect the process to be NULL when a tasklet it created, so
do so.
include/proto/task.h
patch
|
blob
|
history
diff --git
a/include/proto/task.h
b/include/proto/task.h
index
dd08392
..
d1371f3
100644
(file)
--- 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);
}