Loading
selftests: mptcp: extract mptcp_lib_check_expected
mainline inclusion from mainline-v6.9-rc1 commit 663260e146688e1c90ef39234a212ac0c32e448d category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I9VYQ9 CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=663260e146688e1c90ef39234a212ac0c32e448d -------------------------------- Extract the main part of check_expected() in userspace_pm.sh to a new function mptcp_lib_check_expected() in mptcp_lib.sh. It will be used in both mptcp_john.sh and userspace_pm.sh. check_expected_one() is moved into mptcp_lib.sh too as mptcp_lib_check_expected_one(). Signed-off-by:Geliang Tang <tanggeliang@kylinos.cn> Reviewed-by:
Matthieu Baerts (NGI0) <matttbe@kernel.org> Signed-off-by:
Matthieu Baerts (NGI0) <matttbe@kernel.org> Link: https://lore.kernel.org/r/20240308-upstream-net-next-20240308-selftests-mptcp-unification-v1-11-4f42c347b653@kernel.org Signed-off-by:
Jakub Kicinski <kuba@kernel.org> Signed-off-by:
Geliang Tang <tanggeliang@kylinos.cn> Reviewed-by:
Jackie Liu <liuyun01@kylinos.cn> Signed-off-by:
Geliang Tang <tanggeliang@kylinos.cn>