]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: pmtu: disable DAD in all namespaces
authorPaolo Abeni <pabeni@redhat.com>
Mon, 25 Feb 2019 15:08:36 +0000 (16:08 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Feb 2019 05:28:59 +0000 (21:28 -0800)
commita22d6ff7fd1213a8e75fb6444d9925ed8fa2dce6
treedd4ec8410bb10ee902d4d967ced2abb0eee1c2c0
parentc131611dfee8814de80c2ad614775d4d3c7b090d
selftests: pmtu: disable DAD in all namespaces

Otherwise, the configured IPv6 address could be still "tentative"
at test time, possibly causing tests failures.
We can also drop some sleep along the code and decrease the
timeout for most commands so that the test runtime decreases.

v1 -> v2:
 - fix comment (Stefano)

Fixes: 2666139e1827 ("selftests: net: Introduce first PMTU test")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/pmtu.sh