From 486e2f4eb5a02c98958582e366a4d6081ea897e0 Mon Sep 17 00:00:00 2001 From: Kevin Benton Date: Thu, 9 Feb 2017 15:10:20 -0800 Subject: [PATCH] Pass --concurrent flag to ebtables calls This flag will force ebtables to acquire a lock so we don't have to worry about ebtables errors occuring if something else on the system is trying to use ebtables as well. Closes-Bug: #1316621 Change-Id: I695c01e015fdc201df8f23d9b48f9d3678240266 --- neutron/plugins/ml2/drivers/linuxbridge/agent/arp_protect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron/plugins/ml2/drivers/linuxbridge/agent/arp_protect.py b/neutron/plugins/ml2/drivers/linuxbridge/agent/arp_protect.py index 5fc96650c05..ec05b127f67 100644 --- a/neutron/plugins/ml2/drivers/linuxbridge/agent/arp_protect.py +++ b/neutron/plugins/ml2/drivers/linuxbridge/agent/arp_protect.py @@ -191,4 +191,4 @@ NAMESPACE = None def ebtables(comm): execute = ip_lib.IPWrapper(NAMESPACE).netns.execute - return execute(['ebtables'] + comm, run_as_root=True) + return execute(['ebtables', '--concurrent'] + comm, run_as_root=True)