Make the "exit" unixctl command reliable in ovsdb-server, ovs-vswitchd.
authorBen Pfaff <blp@nicira.com>
Tue, 16 Nov 2010 23:14:58 +0000 (15:14 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 16 Nov 2010 23:14:58 +0000 (15:14 -0800)
commit6d37aaf186c9f4595258903241f4fa0175ecf6dd
tree9f54c3cea247bc064501d5785d39bb48da420aa3
parent024f4f7d869c2785a8dff904cf19b61e4993386b
Make the "exit" unixctl command reliable in ovsdb-server, ovs-vswitchd.

If "ovs-appctl exit" happens to hit ovsdb-server or ovs-vswitchd at a
moment when nothing else is happening to wake the daemon up, it can take a
long time for them to exit.

This seems to account for occasional "make check" failures on Nicira's
internal builds.  It probably fixes some Debian automatic build failures
as well.
ovsdb/ovsdb-server.c
vswitchd/ovs-vswitchd.c