diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2024-08-15 00:20:00 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-08-18 01:29:38 +0200 |
commit | 74e508cf797e4fdd812fed3b1b1439a6fc00ebfd (patch) | |
tree | 7426d830e291e6cfbb831e01b59703140b658986 /test/pasta/ndp | |
parent | 0c74068f5643b87db779bb92c73679b257e03a9c (diff) | |
download | passt-74e508cf797e4fdd812fed3b1b1439a6fc00ebfd.tar passt-74e508cf797e4fdd812fed3b1b1439a6fc00ebfd.tar.gz passt-74e508cf797e4fdd812fed3b1b1439a6fc00ebfd.tar.bz2 passt-74e508cf797e4fdd812fed3b1b1439a6fc00ebfd.tar.lz passt-74e508cf797e4fdd812fed3b1b1439a6fc00ebfd.tar.xz passt-74e508cf797e4fdd812fed3b1b1439a6fc00ebfd.tar.zst passt-74e508cf797e4fdd812fed3b1b1439a6fc00ebfd.zip |
netlink, pasta: Disable DAD for link-local addresses on namespace interface
It makes no sense for a container or a guest to try and perform
duplicate address detection for their link-local address, as we'll
anyway not relay neighbour solicitations with an unspecified source
address.
While they perform duplicate address detection, the link-local address
is not usable, which prevents us from bringing up especially
containers and communicate with them right away via IPv6.
This is not enough to prevent DAD and reach the container right away:
we'll need a couple more patches.
As we send NLM_F_REPLACE requests right away, while we still have to
read out other addresses on the same socket, we can't use nl_do():
keep track of the last sequence we sent (last address we changed), and
deal with the answers to those NLM_F_REPLACE requests in a separate
loop, later.
Link: https://github.com/containers/podman/pull/23561#discussion_r1711639663
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'test/pasta/ndp')
0 files changed, 0 insertions, 0 deletions