selftests/net: l2_tos_ttl_inherit.sh: Set IPv6 addresses with "nodad".
authorGuillaume Nault <gnault@redhat.com>
Sun, 8 Jan 2023 15:45:41 +0000 (16:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:58:30 +0000 (11:58 +0100)
commit1621f9a5394880e765f28f1e3401ba582b2ab2ee
treeae69f40f02650dd027fc117265f68f7887584a32
parent514d9c6a39213d8200884e70f60ce7faef1ee597
selftests/net: l2_tos_ttl_inherit.sh: Set IPv6 addresses with "nodad".

[ Upstream commit e59370b2e96eb8e7e057a2a16e999ff385a3f2fb ]

The ping command can run before DAD completes. In that case, ping may
fail and break the selftest.

We don't need DAD here since we're working on isolated device pairs.

Fixes: b690842d12fd ("selftests/net: test l2 tunnel TOS/TTL inheriting")
Signed-off-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/net/l2_tos_ttl_inherit.sh