selftests: mptcp: add infinite map mibs check
authorGeliang Tang <geliang.tang@suse.com>
Fri, 22 Apr 2022 21:55:43 +0000 (14:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Apr 2022 10:51:05 +0000 (11:51 +0100)
commit8bd03be3418c7b723996b621414382427cd44dc0
treef62fa6907edcc23863593969a72f9fa14f911661
parentd9fdd02d4265c4c4fd5264b32b46034239192b7e
selftests: mptcp: add infinite map mibs check

This patch adds a function chk_infi_nr() to check the mibs for the
infinite mapping. Invoke it in chk_join_nr() when validate_checksum
is set.

Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/mptcp/mptcp_join.sh