selftests: mptcp: fix ipv6 routing setup
authorPaolo Abeni <pabeni@redhat.com>
Fri, 21 Jan 2022 00:35:29 +0000 (16:35 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 21 Jan 2022 04:24:02 +0000 (20:24 -0800)
commit9846921dba4936d92f7608315b5d1e0a8ec3a538
treebce0d335086cdb0731cce2fddf142ea16381fcd3
parenta4c0214fbee97c46e3f41fee37931d66c0fc3cb1
selftests: mptcp: fix ipv6 routing setup

MPJ ipv6 selftests currently lack per link route to the server
net. Additionally, ipv6 subflows endpoints are created without any
interface specified. The end-result is that in ipv6 self-tests
subflows are created all on the same link, leading to expected delays
and sporadic self-tests failures.

Fix the issue by adding the missing setup bits.

Fixes: 523514ed0a99 ("selftests: mptcp: add ADD_ADDR IPv6 test cases")
Reported-and-tested-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_join.sh