OSDN Git Service

selftests: mptcp: add the MP_RST mibs check
authorGeliang Tang <geliang.tang@suse.com>
Fri, 4 Mar 2022 19:36:30 +0000 (11:36 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 5 Mar 2022 05:54:30 +0000 (21:54 -0800)
commit922fd2b39e5a3c0220974687ad2afcf5654819e6
tree5f64328a2b1fb230ecb203b08af1610ca4676468
parente40dd439d6daefe647ecf23bb1b15141c34edd1d
selftests: mptcp: add the MP_RST mibs check

This patch added a new function chk_rst_nr() to check the numbers
of the MP_RST sending and receiving mibs.

Showed in the output whether the inverted namespaces check order is used.
Since if we pass -Cz to mptcp_join.sh, the MP_RST information is showed
twice.

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