Merge "Fix race condition by using lock on enable_radvd"

This commit is contained in:
Jenkins 2015-07-23 10:33:05 +00:00 committed by Gerrit Code Review
commit d4333af7b0

View File

@ -363,6 +363,7 @@ class HaRouter(router.RouterInfo):
if self.ha_port:
self.enable_keepalived()
@common_utils.synchronized('enable_radvd')
def enable_radvd(self, internal_ports=None):
if (self.keepalived_manager.get_process().active and
self.ha_state == 'master'):