diff options
author | Ido Schimmel <idosch@nvidia.com> | 2020-11-19 15:08:45 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-20 15:20:20 -0800 |
commit | ffb721515bf3352f38457fd2ab19f575e75e190e (patch) | |
tree | 51670dbb16ce159397da2b167009a1f36f16efd4 /tools | |
parent | 20ac8f8690535161d9357f5b4af4dfdf88c56578 (diff) |
selftests: forwarding: Do not configure nexthop objects twice
routing_nh_obj() is used to configure the nexthop objects employed by
the test, but it is called twice resulting in "RTNETLINK answers: File
exists" messages.
Remove the first call, so that the function is only called after
setup_wait(), when all the interfaces are up and ready.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/testing/selftests/net/forwarding/router_mpath_nh.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/forwarding/router_mpath_nh.sh b/tools/testing/selftests/net/forwarding/router_mpath_nh.sh index cf3d26c233e8..6067477ff326 100755 --- a/tools/testing/selftests/net/forwarding/router_mpath_nh.sh +++ b/tools/testing/selftests/net/forwarding/router_mpath_nh.sh @@ -312,7 +312,6 @@ setup_prepare() router1_create router2_create - routing_nh_obj forwarding_enable } |