提交 ffb72151 编写于 作者: I Ido Schimmel 提交者: Jakub Kicinski

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: NIdo Schimmel <idosch@nvidia.com>
Signed-off-by: NJakub Kicinski <kuba@kernel.org>
上级 20ac8f86
......@@ -312,7 +312,6 @@ setup_prepare()
router1_create
router2_create
routing_nh_obj
forwarding_enable
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册