From patchwork Sat Jun 26 09:16:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jianguo Wu X-Patchwork-Id: 12346345 X-Patchwork-Delegate: matthieu.baerts@tessares.net Received: from m12-18.163.com (m12-18.163.com [220.181.12.18]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 938C96D0F for ; Sat, 26 Jun 2021 09:16:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=5deExUksRhz+ynlf38 oqAkXMoTdflt/vR9pMZk6sVRU=; b=mKgfy/L0noSLu7tqoEF8rS/I3IaTAqxWIE fomDXWzhzfvkoZsVStR+JBk8dmWFSX2quxXqj8m2ZcULpCrD3pailQXm4VnKzAL2 XVj9OqvwHA4l7JlXbE5f6oU2NnB5XJwEqrVrIHqpDsq9nMvi2KxeGUT2D/eXhQL1 cLJ04OUeU= Received: from localhost.localdomain (unknown [36.111.140.26]) by smtp14 (Coremail) with SMTP id EsCowAD3_dV38NZgettArg--.471S7; Sat, 26 Jun 2021 17:16:45 +0800 (CST) From: wujianguo106@163.com To: mptcp@lists.linux.dev Cc: pabeni@redhat.com, mathew.j.martineau@linux.intel.com Subject: [PATCH mptcp-net v8 5/5] selftests: mptcp: fix case multiple subflows limited by server Date: Sat, 26 Jun 2021 17:16:38 +0800 Message-Id: <1624698998-9029-6-git-send-email-wujianguo106@163.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1624698998-9029-1-git-send-email-wujianguo106@163.com> References: <1624698998-9029-1-git-send-email-wujianguo106@163.com> X-CM-TRANSID: EsCowAD3_dV38NZgettArg--.471S7 X-Coremail-Antispam: 1Uf129KBjvdXoW7JFWDArW3Aw47Ww15Wr4UArb_yoWkKrgEgF 4xtFyDArs8ZFyUtF18Cr15CrWrK3sxu397Kr10vw13Jw1jy3W5WFWkJF1Du3Z3G390934a gFs2yw1Yyw1jgjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU01UDPUUUUU== X-Originating-IP: [36.111.140.26] X-CM-SenderInfo: 5zxmxt5qjx0iiqw6il2tof0z/1tbiJx29kF5u+2-JYwABsY Precedence: bulk X-Mailing-List: mptcp@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: From: Jianguo Wu After patch "mptcp: fix syncookie process if mptcp can not_accept new subflow", If subflow is limited, MP_JOIN SYN is dropped, and no SYN/ACK will be replied. So in case "multiple subflows limited by server", the expected SYN/ACK number should be 1. Reported-by: kernel test robot Signed-off-by: Jianguo Wu --- tools/testing/selftests/net/mptcp/mptcp_join.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/net/mptcp/mptcp_join.sh b/tools/testing/selftests/net/mptcp/mptcp_join.sh index 9a191c1..f02f4de 100755 --- a/tools/testing/selftests/net/mptcp/mptcp_join.sh +++ b/tools/testing/selftests/net/mptcp/mptcp_join.sh @@ -1409,7 +1409,7 @@ syncookies_tests() ip netns exec $ns2 ./pm_nl_ctl add 10.0.3.2 flags subflow ip netns exec $ns2 ./pm_nl_ctl add 10.0.2.2 flags subflow run_tests $ns1 $ns2 10.0.1.1 - chk_join_nr "subflows limited by server w cookies" 2 2 1 + chk_join_nr "subflows limited by server w cookies" 2 1 1 # test signal address with cookies reset_with_cookies