selftests: forwarding: Add missing 'rp_filter' configuration
authorIdo Schimmel <idosch@nvidia.com>
Thu, 15 Oct 2020 08:45:25 +0000 (11:45 +0300)
committerJakub Kicinski <kuba@kernel.org>
Sun, 18 Oct 2020 19:47:32 +0000 (12:47 -0700)
commit71a0e29e99405d89b695882d52eec60844173697
tree67019b2e0ea27e96b578e5c2604f9903f963c8e2
parentf981fc3d515a588c389242b7e3a71487b40571a5
selftests: forwarding: Add missing 'rp_filter' configuration

When 'rp_filter' is configured in strict mode (1) the tests fail because
packets received from the macvlan netdevs would not be forwarded through
them on the reverse path.

Fix this by disabling the 'rp_filter', meaning no source validation is
performed.

Fixes: 1538812e0880 ("selftests: forwarding: Add a test for VXLAN asymmetric routing")
Fixes: 438a4f5665b2 ("selftests: forwarding: Add a test for VXLAN symmetric routing")
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reported-by: Hangbin Liu <liuhangbin@gmail.com>
Tested-by: Hangbin Liu <liuhangbin@gmail.com>
Link: https://lore.kernel.org/r/20201015084525.135121-1-idosch@idosch.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/forwarding/vxlan_asymmetric.sh
tools/testing/selftests/net/forwarding/vxlan_symmetric.sh