On Sat, Aug 17, 2024 at 10:43:05AM +0200, Stefano Brivio wrote: > 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 Reviewed-by: David Gibson -- David Gibson (he or they) | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you, not the other way | around. http://www.ozlabs.org/~dgibson