]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests: mptcp: fix ipv6 routing setup
authorPaolo Abeni <pabeni@redhat.com>
Fri, 21 Jan 2022 00:35:29 +0000 (16:35 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Feb 2022 11:39:54 +0000 (12:39 +0100)
commit1223edb9e97e75b0d20bffe9d289c4f5c5512aab
treed77e5ed78d942191742005f58c05b5c024e3097b
parent6d6f1f0dac3e3441ecdb1103d4efb11b9ed24dd5
selftests: mptcp: fix ipv6 routing setup

commit 9846921dba4936d92f7608315b5d1e0a8ec3a538 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/net/mptcp/mptcp_join.sh