diff options
author | Paul Holzinger <pholzing@redhat.com> | 2022-03-11 16:33:22 +0100 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2022-03-14 15:19:54 +0100 |
commit | 3bb046a5e31c486f37c3c8acdbd942580699d90e (patch) | |
tree | 6cbdc8e1212ee9eac81f1fdcbf66aae437d83754 /test/python | |
parent | 219f1162407b8f4c2c05aa07166b999d64ead113 (diff) | |
download | podman-3bb046a5e31c486f37c3c8acdbd942580699d90e.tar.gz podman-3bb046a5e31c486f37c3c8acdbd942580699d90e.tar.bz2 podman-3bb046a5e31c486f37c3c8acdbd942580699d90e.zip |
slirp: fix setup on ipv6 disabled systems
When enable_ipv6=true is set for slirp4netns (default since podman v4),
we will try to set the accept sysctl. This sysctl will not exist on
systems that have ipv6 disabled. In this case we should not error and
just ignore the extra ipv6 setup.
Also the current logic to wait for the slirp4 setup was kinda broken, it
did not actually wait until the sysctl was set before starting slirp.
This should now be fixed by using two `sync.WaitGroup`s.
[NO NEW TESTS NEEDED]
Fixes #13388
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'test/python')
0 files changed, 0 insertions, 0 deletions