]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: forwarding: mirror_gre_changes: Fix waiting for neighbor
authorPetr Machata <petrm@mellanox.com>
Thu, 28 Jun 2018 16:56:39 +0000 (18:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Jun 2018 11:34:09 +0000 (20:34 +0900)
commit26bfaeac290997cd4f90491c0032a0688fbd0164
treece9cf2d62b46c3edcde81151e4e2db0ad3e155a0
parent8f1076e5362dd71c845f913e953767f2230945d3
selftests: forwarding: mirror_gre_changes: Fix waiting for neighbor

When running the test on soft devices, there's no mechanism to
gratuitously start resolving the neighbor for remote tunnel endpoint.
So instead of passively waiting, wait for the device to be up, and then
probe the neighbor with a ping.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/mirror_gre_changes.sh