vswitchd: Prevent multiple ovs-vswitchd processes from acting together.
authorBen Pfaff <blp@nicira.com>
Tue, 26 Jul 2011 23:49:03 +0000 (16:49 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 26 Jul 2011 23:50:09 +0000 (16:50 -0700)
commit06b6d65132e54582031c8166c74725fc90239588
tree2d4ba9f42a3050fe26a68571aa7f2f218862bf73
parentda897f41cd795e325ec5ce773a70a819100bd26e
vswitchd: Prevent multiple ovs-vswitchd processes from acting together.

Once in a while someone reports a problem caused by running multiple
ovs-vswitchd processes at the same time.  This fixes the problem by
requiring ovs-vswitchd to obtain a database lock before taking any actions.
lib/ovsdb-idl.c
lib/ovsdb-idl.h
utilities/ovs-vsctl.c
vswitchd/bridge.c