Re: [PATCH 04/11] selftests: net/fcnal: Use accept_dad=0 to avoid setup sleep
From: David Ahern
Date: Wed Oct 06 2021 - 10:38:18 EST
On 10/6/21 5:47 AM, Leonard Crestez wrote:
> Duplicate Address Detection makes ipv6 addresses unavailable for a short
> period after adding (average about 1 second). Adding sleep statements
> avoid this but since all addresses in the test environment are
> controlled from the same source we can just disable DAD for the entire
> namespace.
>
> Unlike sprinkling nodad to all ipv6 address additions this also skips
> DAD for link-local-addresses.
>
> Signed-off-by: Leonard Crestez <cdleonard@xxxxxxxxx>
> ---
> tools/testing/selftests/net/fcnal-test.sh | 17 +++++++----------
> 1 file changed, 7 insertions(+), 10 deletions(-)
>
Reviewed-by: David Ahern <dsahern@xxxxxxxxxx>