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
(cherry picked from commit 486e2f4eb5
)
This commit is contained in:
parent
085afaa649
commit
470833d36d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue