Thread (11 messages) flat view 11 messages, 5 authors, 2021-06-24

Re: [PATCH net] ip6_tunnel: fix GRE6 segmentation

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-06-24 16:33:10

On Thu, 24 Jun 2021 08:36:12 -0600 David Ahern wrote:
quoted
quoted
It is to let IPv6 DAD to complete otherwise the address will not be
selected as a source address. That typically results in test failures.
There are sysctl settings that can prevent the race and hence the need
for the sleep.  
But Jakub's script uses "nodad" in the "ip address add ..." commands.
Isn't that supposed to disable DAD entirely for the new address?
Why would it need an additional "sleep 2"?
  
it should yes. I think the selftests have acquired a blend of nodad,
sysctl and sleep. I'm sure it could be cleaned up and made consistent.
I was guessing that the DAD is happening on the link local address,
that's why, no? I'm using link local in the underlay.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help