git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prepare for post-2.2.0 (2.2.90).
[sliver-openvswitch.git]
/
lib
/
ovs-thread.c
diff --git
a/lib/ovs-thread.c
b/lib/ovs-thread.c
index
d835b39
..
19edf8f
100644
(file)
--- a/
lib/ovs-thread.c
+++ b/
lib/ovs-thread.c
@@
-274,9
+274,11
@@
ovsthread_wrapper(void *aux_)
aux = *auxp;
free(auxp);
aux = *auxp;
free(auxp);
+ /* The order of the following calls is important, because
+ * ovsrcu_quiesce_end() saves a copy of the thread name. */
set_subprogram_name("%s%u", aux.name, id);
set_subprogram_name("%s%u", aux.name, id);
-
ovsrcu_quiesce_end();
ovsrcu_quiesce_end();
+
return aux.start(aux.arg);
}
return aux.start(aux.arg);
}