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 commit486e2f4eb5
) (cherry picked from commit470833d36d
)
This commit is contained in:
parent
6b11276f58
commit
f6ae49b020
|
@ -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