Browse Source

Merge "Fix privileged create_netns function" into stable/ussuri

changes/72/825472/1
Zuul 4 months ago committed by Gerrit Code Review
parent
commit
d304feac83
  1. 2
      neutron/privileged/agent/linux/ip_lib.py

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

@ -534,7 +534,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