Browse Source

Merge "Fix privileged create_netns function" into stable/train

changes/43/819443/2
Zuul 4 months ago committed by Gerrit Code Review
parent
commit
94e4cbb5f0
  1. 2
      neutron/privileged/agent/linux/ip_lib.py

2
neutron/privileged/agent/linux/ip_lib.py

@ -570,7 +570,7 @@ def create_netns(name, **kwargs):
pid = os.fork()
if pid == 0:
try:
netns.create(name, libc=_get_cdll())
netns._create(name, libc=_get_cdll())
except OSError as e:
if e.errno != errno.EEXIST:
os._exit(1)

Loading…
Cancel
Save