]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mptcp: simplify pm_nl_change_endpoint
authorGeliang Tang <geliang.tang@suse.com>
Fri, 18 Feb 2022 03:03:06 +0000 (19:03 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 18 Feb 2022 03:59:58 +0000 (19:59 -0800)
commit4d783394830cd590427e39e244f0e7a345d27706
treef7aa81434a026edfed10d0a497fe5c76bef49fed
parentfe4efac45681d49e81060fb1dad9bec29757a222
selftests: mptcp: simplify pm_nl_change_endpoint

This patch simplified pm_nl_change_endpoint(), using id-based address
lookups only. And dropped the fragile way of parsing 'addr' and 'id'
from the output of pm_nl_show_endpoints().

Signed-off-by: Geliang Tang <geliang.tang@suse.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