diff options
author | Paul Holzinger <pholzing@redhat.com> | 2021-10-26 15:32:01 +0200 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2021-10-26 18:27:30 +0200 |
commit | 008075ce54e27225706eab7030806cf2036c65c7 (patch) | |
tree | aa9c5352d0454b48bdf1699a337a43c0e5f5f2ea /utils/utils.go | |
parent | 4d75df8be380cff4df082bd6fc2f05aa2c433723 (diff) | |
download | podman-008075ce54e27225706eab7030806cf2036c65c7.tar.gz podman-008075ce54e27225706eab7030806cf2036c65c7.tar.bz2 podman-008075ce54e27225706eab7030806cf2036c65c7.zip |
Slirp4netns with ipv6 set net.ipv6.conf.default.accept_dad=0
Duplicate Address Detection slows the ipv6 setup down for 1-2 seconds.
Since slirp4netns is run it is own namespace and not directly routed
we can skip this to make the ipv6 address immediately available.
We change the default to make sure the slirp tap interface gets the
correct value assigned so DAD is disabled for it.
Also make sure to change this value back to the original after slirp4netns
is ready in case users rely on this sysctl.
Fixes #11062
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'utils/utils.go')
0 files changed, 0 insertions, 0 deletions