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
ofproto-dpif-upcall: Fix a bug.
[sliver-openvswitch.git]
/
ofproto
/
ofproto-dpif-upcall.c
diff --git
a/ofproto/ofproto-dpif-upcall.c
b/ofproto/ofproto-dpif-upcall.c
index
84afc56
..
717563a
100644
(file)
--- a/
ofproto/ofproto-dpif-upcall.c
+++ b/
ofproto/ofproto-dpif-upcall.c
@@
-342,7
+342,7
@@
static void
udpif_start_threads(struct udpif *udpif, size_t n_handlers,
size_t n_revalidators)
{
- if (udpif &&
(!udpif->handlers && !udpif->revalidators)
) {
+ if (udpif &&
n_handlers && n_revalidators
) {
size_t i;
udpif->n_handlers = n_handlers;