From nobody Sat Dec 21 14:08:27 2024 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 682C310E9 for ; Sat, 14 Sep 2024 08:59:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726304378; cv=none; b=Bzn1A3YiHhk+QRF5FZZNAptOGysNmdc3kqsFcY3geYaxd1zHUlwTudYIz8QgmzvtMGvcZD2/oRLG/ZduMVeLznjvRA9NI3ns8mZKpSUivEGTTZ/tM1Apt/hD9BSucEAmE6TQYLEwjaEjh1rqcEMBO2vVvJk8kRrO6JAok1qw+lM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726304378; c=relaxed/simple; bh=JrjP+cxxwQctHpBi6PyjZFtDkVVFpWStd9Gbslehly0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=uIo83XLgLaUGSeVIGd8wCJv+uoxwzZwuukxMDiFQXoYxQCqOvDffkhR2R9XwPKCZ4NHdaseGvGkHkIyg2CLzc28ed3X4hC6w1AcweEvRU0nF7gXiqt6liRQAezT9w19FUuf7cKicAuVnn12BhpMQYcJo0Rg8Xne5+Eez+zjPPSg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dduljdT8; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dduljdT8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D34CAC4CEC0; Sat, 14 Sep 2024 08:59:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1726304377; bh=JrjP+cxxwQctHpBi6PyjZFtDkVVFpWStd9Gbslehly0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dduljdT8XNkT4OsN/D9b4HRd5NbygeeIZ1GqJwXFqa6ZtSuYkjInVuHB7XG626Cdl xrO5x0hq8F/pCSab0nWFOXcpdp1vep5Myw1xDx7t5f4q/FyAx0tYQsKuUs34OWB5zW huBJvFnlxdtM+WVMIrdw+Dur1/hOd6Aice68rDKSYpy8eE8ir9JRawRzwsXWE/hU3V Gh+0nrV4DskzLKZLA6Wztow2hmpyjLDohAd7sRJuZBQfkqGxafbcU+9XSrkwVSuIuR mSRgTqWTR1OwokgcFPAEpsKuWWf42nSlGa/vO3umq4/NCMmLOvZUz1FNMKdgK5pg3X 2w+07nYs4bQiQ== From: Geliang Tang To: mptcp@lists.linux.dev Cc: Geliang Tang Subject: [PATCH mptcp-next 1/4] Squash to "selftests/bpf: Add getsockopt to inspect mptcp subflow" Date: Sat, 14 Sep 2024 16:59:27 +0800 Message-ID: <0568d6aac109835392a348e548d3b97a4ffa626c.1726304196.git.tanggeliang@kylinos.cn> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: mptcp@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Geliang Tang Use can_loop instead of cond_break as Martin suggested. Signed-off-by: Geliang Tang --- tools/testing/selftests/bpf/progs/mptcp_bpf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/bpf/progs/mptcp_bpf.h b/tools/testing/= selftests/bpf/progs/mptcp_bpf.h index 928a1e5ad8db..c3800f986ae1 100644 --- a/tools/testing/selftests/bpf/progs/mptcp_bpf.h +++ b/tools/testing/selftests/bpf/progs/mptcp_bpf.h @@ -26,10 +26,10 @@ static inline int list_is_head(const struct list_head *= list, #define list_entry_is_head(pos, head, member) \ list_is_head(&pos->member, (head)) =20 -/* small difference: 'cond_break' has been added in the conditions */ +/* small difference: 'can_loop' has been added in the conditions */ #define list_for_each_entry(pos, head, member) \ for (pos =3D list_first_entry(head, typeof(*pos), member); \ - cond_break, !list_entry_is_head(pos, head, member); \ + !list_entry_is_head(pos, head, member) && can_loop; \ pos =3D list_next_entry(pos, member)) =20 /* mptcp helpers from protocol.h */ --=20 2.43.0 From nobody Sat Dec 21 14:08:27 2024 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3CE5A10E9 for ; Sat, 14 Sep 2024 08:59:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726304380; cv=none; b=RxnGrofwYJjo5oY4uEk56XwgZGRh9MBzwDp6o4WMGUlds6CHUsHoYhXvRsdOSBQ3aeNdVtzPpE7UVv2dd4tO3cStB+QyOsbO26fC+jVla26mUOMLxgt3ZMkB19IE5rBq21fQYHuEsrLQNOwRf29LzPgdQ22IfgMsF3Z3xjM9VAo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726304380; c=relaxed/simple; bh=HiTklz2CFtiZTKDWh6s7UXBVztznjLS28ql2Yd/Fphk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gAAt5nNKSC5StyrCbc6sOs6r79Z1nvUbqPOUfhz4CUPZHHCwe5UIwIDd1MJAoTNo0S3y67IdmKfb1z5v/x3yQFDCSZs+OBJGdzSxaLEruqDCRAY2mBrQ9SJsLPu8BbGLd0SkBjKCisDkTyE8jI/P/XOXJlzaVrOTB0GcPteafPo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hh+wmI7i; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hh+wmI7i" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95B60C4CEC0; Sat, 14 Sep 2024 08:59:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1726304379; bh=HiTklz2CFtiZTKDWh6s7UXBVztznjLS28ql2Yd/Fphk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hh+wmI7iDrN4LzvGx5tT/sBgaFN2Y2cevmqLqv1pb4rx6bBd7wy6tTxAkO/3jGORF 4ZkR4k7FyXXvTPFpJFtsD7A0W9UYRmExHHIOj6oiI++1eHcpqChZ2CvNkoezYvsw1G 9LYhvDKxBt95CDe8VOauNGne2isqf2R51fM/SI85ZCBNBTheTj739g/heva33WKOJK IC33kruXTff9rdcSh2jNkLtGQI9iHharNFDXr0rNCh4R4LzM3m7i5MMpvLr8Ob+DDE tFC96RhrRRqUeczuCn8Fwx4lcxTv2PFJSSTDqYN/a1J6q+N5eY8shIJcGeIM+YgVfI 3N4jpERzfFn6g== From: Geliang Tang To: mptcp@lists.linux.dev Cc: Geliang Tang Subject: [PATCH mptcp-next 2/4] Squash to "selftests/bpf: Add mptcp subflow subtest" Date: Sat, 14 Sep 2024 16:59:28 +0800 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: mptcp@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Geliang Tang Address Martin's comments: Drop mptcp_subflow__attach. Use bpf_program__attach_cgroup instead of bpf_prog_attach. Use the skel->links.{mptcp_subflow, _getsockopt_subflow}, instead of declar= ing a local "link". Signed-off-by: Geliang Tang --- .../testing/selftests/bpf/prog_tests/mptcp.c | 20 +++++++------------ 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/tools/testing/selftests/bpf/prog_tests/mptcp.c b/tools/testing= /selftests/bpf/prog_tests/mptcp.c index a3e68bc6afa3..acd79be134cd 100644 --- a/tools/testing/selftests/bpf/prog_tests/mptcp.c +++ b/tools/testing/selftests/bpf/prog_tests/mptcp.c @@ -424,10 +424,9 @@ static void run_subflow(void) =20 static void test_subflow(void) { - int cgroup_fd, prog_fd, err; struct mptcp_subflow *skel; struct nstoken *nstoken; - struct bpf_link *link; + int cgroup_fd; =20 cgroup_fd =3D test__join_cgroup("/mptcp_subflow"); if (!ASSERT_OK_FD(cgroup_fd, "join_cgroup: mptcp_subflow")) @@ -439,13 +438,14 @@ static void test_subflow(void) =20 skel->bss->pid =3D getpid(); =20 - err =3D mptcp_subflow__attach(skel); - if (!ASSERT_OK(err, "skel_attach: mptcp_subflow")) + skel->links.mptcp_subflow =3D + bpf_program__attach_cgroup(skel->progs.mptcp_subflow, cgroup_fd); + if (!ASSERT_OK_PTR(skel->links.mptcp_subflow, "attach mptcp_subflow")) goto skel_destroy; =20 - prog_fd =3D bpf_program__fd(skel->progs.mptcp_subflow); - err =3D bpf_prog_attach(prog_fd, cgroup_fd, BPF_CGROUP_SOCK_OPS, 0); - if (!ASSERT_OK(err, "prog_attach")) + skel->links._getsockopt_subflow =3D + bpf_program__attach_cgroup(skel->progs._getsockopt_subflow, cgroup_fd); + if (!ASSERT_OK_PTR(skel->links._getsockopt_subflow, "attach _getsockopt_s= ubflow")) goto skel_destroy; =20 nstoken =3D create_netns(); @@ -455,14 +455,8 @@ static void test_subflow(void) if (endpoint_init("subflow") < 0) goto close_netns; =20 - link =3D bpf_program__attach_cgroup(skel->progs._getsockopt_subflow, - cgroup_fd); - if (!ASSERT_OK_PTR(link, "getsockopt prog")) - goto close_netns; - run_subflow(); =20 - bpf_link__destroy(link); close_netns: cleanup_netns(nstoken); skel_destroy: --=20 2.43.0 From nobody Sat Dec 21 14:08:27 2024 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B610A10E9 for ; Sat, 14 Sep 2024 08:59:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726304381; cv=none; b=gEkX/cFoi3H/R2Lyp4tTTAUwRs3Nn8tgJmE4UYnYJ4D3HUKPI9ok3gqOAXe9zFpCj88aA3MhwdE8gH7IT7LaUFBLT4xT0du5QZcFuQBtZ0Fv7uCXKNFroSCN1GTW33LJalwsX3db/jy78/Av+xja1CUn5+fWKSKITczm28zaue8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726304381; c=relaxed/simple; bh=D8PfTAmPuHjWujUQ9BejNY7QP42pjnoQ8PAlKl55cRE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XgMM6rx629yiUZ85Hdru3ldfZ4+g3I6WfCR5FdvNq5aOj84AXiUHcdDRyNpnPgQeW6lrKOu/Dqa9x9xr13sVighAHEkFZ20mRlvZANvln7f9pg0ViCrUKfxnx6EjVeTJykSUuHM6IkuKbEegZm28IzykmPWdNE8tzdrVVvAJ1XQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WiURwiUl; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WiURwiUl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54F03C4CECD; Sat, 14 Sep 2024 08:59:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1726304381; bh=D8PfTAmPuHjWujUQ9BejNY7QP42pjnoQ8PAlKl55cRE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WiURwiUl/SkImhqr2vOXHXSBFdFh+0F/tOzJ+Fu1XSS1JU2djIXbVFQ6IdIUhaxXk 1uFSVy8Pkipv9a/jG1nIl404r+Dk6pKmTeXPATOvPn22UfRIdP/6dljLc/z3YWaLH+ pDk2sGISctPgP6HilJAbwyB4q8mWCCN2nzT5haOTFwp+q2/9yYOvhGWn9mMiHh8wPN NXm5/N0X2MhbXbQ7loddLHryZXMAoKjwrHR5/BDdUELOxUlO+3FEWwA6BS2W6PDBx4 6au/T5qsNyaUVDxjA8nJ3PJfG+VD366OYiEXx72mDA0CHNsAg2n0IQQJodwoK2tIoh B8KtQHZtEyjZA== From: Geliang Tang To: mptcp@lists.linux.dev Cc: Geliang Tang Subject: [PATCH mptcp-next 3/4] selftests/bpf: More subflows for endpoint_init Date: Sat, 14 Sep 2024 16:59:29 +0800 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: mptcp@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Geliang Tang Squash to "selftests/bpf: Add mptcp subflow subtest" 2 This patch adds two more test addresses ADDR_3 and ADDR_4, and adds a new parameter "subflows" for endpoint_init() to control how many subflows are used for the tests. This makes it more flexible. Update the parameters of endpoint_init() in test_subflow(). Signed-off-by: Geliang Tang --- .../testing/selftests/bpf/prog_tests/mptcp.c | 25 ++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/tools/testing/selftests/bpf/prog_tests/mptcp.c b/tools/testing= /selftests/bpf/prog_tests/mptcp.c index acd79be134cd..f4715b1692df 100644 --- a/tools/testing/selftests/bpf/prog_tests/mptcp.c +++ b/tools/testing/selftests/bpf/prog_tests/mptcp.c @@ -20,6 +20,8 @@ #define NS_TEST "mptcp_ns" #define ADDR_1 "10.0.1.1" #define ADDR_2 "10.0.1.2" +#define ADDR_3 "10.0.1.3" +#define ADDR_4 "10.0.1.4" #define PORT_1 10001 #define WITH_DATA true #define WITHOUT_DATA false @@ -351,19 +353,36 @@ static void test_mptcpify(void) close(cgroup_fd); } =20 -static int endpoint_init(char *flags) +static int endpoint_init(char *flags, u8 subflows) { + if (!subflows || subflows > 4) + goto fail; + SYS(fail, "ip -net %s link add veth1 type veth peer name veth2", NS_TEST); SYS(fail, "ip -net %s addr add %s/24 dev veth1", NS_TEST, ADDR_1); SYS(fail, "ip -net %s link set dev veth1 up", NS_TEST); SYS(fail, "ip -net %s addr add %s/24 dev veth2", NS_TEST, ADDR_2); SYS(fail, "ip -net %s link set dev veth2 up", NS_TEST); - if (SYS_NOFAIL("ip -net %s mptcp endpoint add %s %s", NS_TEST, ADDR_2, fl= ags)) { + + SYS(fail, "ip -net %s link add veth3 type veth peer name veth4", NS_TEST); + SYS(fail, "ip -net %s addr add %s/24 dev veth3", NS_TEST, ADDR_3); + SYS(fail, "ip -net %s link set dev veth3 up", NS_TEST); + SYS(fail, "ip -net %s addr add %s/24 dev veth4", NS_TEST, ADDR_4); + SYS(fail, "ip -net %s link set dev veth4 up", NS_TEST); + + if (SYS_NOFAIL("ip -net %s mptcp limits set subflows 4", NS_TEST)) { printf("'ip mptcp' not supported, skip this test.\n"); test__skip(); goto fail; } =20 + if (subflows > 1) + SYS_NOFAIL("ip -net %s mptcp endpoint add %s %s", NS_TEST, ADDR_2, flags= ); + if (subflows > 2) + SYS_NOFAIL("ip -net %s mptcp endpoint add %s %s", NS_TEST, ADDR_3, flags= ); + if (subflows > 3) + SYS_NOFAIL("ip -net %s mptcp endpoint add %s %s", NS_TEST, ADDR_4, flags= ); + return 0; fail: return -1; @@ -452,7 +471,7 @@ static void test_subflow(void) if (!ASSERT_OK_PTR(nstoken, "create_netns: mptcp_subflow")) goto skel_destroy; =20 - if (endpoint_init("subflow") < 0) + if (endpoint_init("subflow", 2) < 0) goto close_netns; =20 run_subflow(); --=20 2.43.0 From nobody Sat Dec 21 14:08:27 2024 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 01E8510E9 for ; Sat, 14 Sep 2024 08:59:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726304383; cv=none; b=m+DphPbs737w9EcN/D7dayjL6kJrSTU8PTEIwcN6GugpmZsunxvuDetiPYFFwY6hypNrDb7dorEwh+4ry6xQrStTt7LrOu0ZDAoKymVscV1ww4Xs6VDPAy4SVWPaUZ1LqYiby0car6rudUityFYPpxB1u/ycJZdnfcFgPWX6D2s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726304383; c=relaxed/simple; bh=8eAH8GdWYHEniV9aWy6BqxIJ30yhNPjm4jN4t5U4nNk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=bhvfQIaT7F1Nz/3zcaAABW6Ff6vW5dYl0I+XrGWmFP5SLf5BMayQWZyy5cusnza42QK13OKjM7iVQMW6Lb5TI54MkCj7LlSdo8cmVlusskh5WDClA7UJGtTSRUI27ArScguixR2YAx+Y9eIA8R+sya/nqsYMWY+Pbkl0NEPkIT0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XCsFQ9bV; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XCsFQ9bV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BFFA5C4CEC0; Sat, 14 Sep 2024 08:59:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1726304382; bh=8eAH8GdWYHEniV9aWy6BqxIJ30yhNPjm4jN4t5U4nNk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XCsFQ9bVSNeZJf6oxE1DBVh9GaNEDCVVEWWe+R5bpLWCgB7sH+RDlV8Q1BjkyfB+o knY1kke+seKp+fRvCTUrC6qaqWWbJ0Bpw+nSbaDXsF3BgTEJW6M5R1+ZG2MvxD73o/ 2o+g3GbP8KWtTvZe/D0v4KsmJgdILo1n6xP40LeD7+gddtghPqOHw6OrOhXRxziH1u 4sjpTuPtmxuI2Xtcv21oEwejE6vyBpwGQmq1kQc1bwDy/iZFSOhfyEEPJ7BX7sYese uJ9DMJ+zZNL8aHLyEb+QvrTjvQzE/WiiW2aAbU8fpFFrdtuSn6r0Glx4c/vtA7yfAX ziGFX/Qs49J3w== From: Geliang Tang To: mptcp@lists.linux.dev Cc: Geliang Tang Subject: [PATCH mptcp-next 4/4] Squash to "selftests/bpf: Add bpf scheduler test" Date: Sat, 14 Sep 2024 16:59:30 +0800 Message-ID: <0f54ae688bd765cddee573c62657673071f57c5f.1726304196.git.tanggeliang@kylinos.cn> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: mptcp@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Geliang Tang Update endpoint_init() in sched_init(). Signed-off-by: Geliang Tang --- tools/testing/selftests/bpf/prog_tests/mptcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/bpf/prog_tests/mptcp.c b/tools/testing= /selftests/bpf/prog_tests/mptcp.c index f4715b1692df..04146184e45a 100644 --- a/tools/testing/selftests/bpf/prog_tests/mptcp.c +++ b/tools/testing/selftests/bpf/prog_tests/mptcp.c @@ -492,7 +492,7 @@ static struct nstoken *sched_init(char *flags, char *sc= hed) if (!ASSERT_OK_PTR(nstoken, "create_netns")) return NULL; =20 - if (endpoint_init("subflow") < 0) + if (endpoint_init("subflow", 2) < 0) goto fail; =20 SYS(fail, "ip netns exec %s sysctl -qw net.mptcp.scheduler=3D%s", NS_TEST= , sched); --=20 2.43.0