diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-10-11 00:36:30 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-10-15 02:10:36 +0200 |
commit | 6acf89638bf29c9d2cfb782ec752b35a418e921b (patch) | |
tree | 5ab72d9cc540d8dfa277c681d3d2d9a6ac4d7872 /conf.c | |
parent | 6f3e38cac5c23dcd2dd6649132f0c55bac331f2e (diff) | |
download | passt-6acf89638bf29c9d2cfb782ec752b35a418e921b.tar passt-6acf89638bf29c9d2cfb782ec752b35a418e921b.tar.gz passt-6acf89638bf29c9d2cfb782ec752b35a418e921b.tar.bz2 passt-6acf89638bf29c9d2cfb782ec752b35a418e921b.tar.lz passt-6acf89638bf29c9d2cfb782ec752b35a418e921b.tar.xz passt-6acf89638bf29c9d2cfb782ec752b35a418e921b.tar.zst passt-6acf89638bf29c9d2cfb782ec752b35a418e921b.zip |
netlink: Disable duplicate address detection for configured IPv6 address
With default options, when we pass --config-net, the IPv6 address is
actually going to be recycled from the init namespace, so it is in
fact duplicated, but duplicate address detection has no way to find
out.
With a different configured address, that's not the case, but anyway
duplicate address detection will be unable to see this.
In both cases, we're wasting time for nothing.
Pass the IFA_F_NODAD flag as we configure globally scoped IPv6
addresses via netlink.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'conf.c')
0 files changed, 0 insertions, 0 deletions