vswitchd: Refresh SSL keys and certificates more frequently.
authorBen Pfaff <blp@nicira.com>
Thu, 5 Aug 2010 16:58:58 +0000 (09:58 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 5 Aug 2010 16:58:58 +0000 (09:58 -0700)
commitd54ff9987c3bbd9989ee7fef574bdab3207aca60
tree084509b381929dfb116d9f8c6f7d7497c8241d9f
parent6f1e91b1d7c058d701145080c344bbc531b394ed
vswitchd: Refresh SSL keys and certificates more frequently.

Until now, the ovs-vswitchd main loop has refreshed keys and certificates
from their files only when the database changes.  This works fine if new
keys and certificates are installed with new file names, because the update
to the database to point to the new files will cause them to be read.  But
if the new keys and certificates are copied over the existing files, then
the delay until they are read is indefinite.

This commit fixes the problem by changing the SSL configuration so that it
is rechecked on every trip through the ovs-vswitchd main loop.

Bug #2921.
vswitchd/bridge.c