From: Geliang Tang <geliang@kernel.org>
To: mptcp@lists.linux.dev
Cc: Geliang Tang <tanggeliang@kylinos.cn>
Subject: [PATCH mptcp-next 3/3] Squash to "selftests/bpf: Add bpf scheduler test"
Date: Wed, 15 May 2024 14:44:23 +0800 [thread overview]
Message-ID: <d50bb4210c8a8001f013eedd4b1563e9e9670ff6.1715755275.git.tanggeliang@kylinos.cn> (raw)
In-Reply-To: <cover.1715755275.git.tanggeliang@kylinos.cn>
From: Geliang Tang <tanggeliang@kylinos.cn>
create_netns() is updated in "bpf-next add netns helpers" series,
sched_init() needs to be updated too.
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
---
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 a4863328d2c7..1b2ffc5211ea 100644
--- a/tools/testing/selftests/bpf/prog_tests/mptcp.c
+++ b/tools/testing/selftests/bpf/prog_tests/mptcp.c
@@ -439,7 +439,7 @@ static struct nstoken *sched_init(char *flags, char *sched)
{
struct nstoken *nstoken;
- nstoken = create_netns();
+ nstoken = create_netns(NS_TEST);
if (!ASSERT_OK_PTR(nstoken, "create_netns"))
return NULL;
--
2.43.0
prev parent reply other threads:[~2024-05-15 6:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-15 6:44 [PATCH mptcp-next 0/3] fixes for create_netns Geliang Tang
2024-05-15 6:44 ` [PATCH mptcp-next 1/3] selftests/bpf: Handle SIGINT when creating netns Geliang Tang
2024-05-15 7:32 ` Matthieu Baerts
2024-05-15 6:44 ` [PATCH mptcp-next 2/3] Squash to "selftests/bpf: Add mptcp subflow subtest" Geliang Tang
2024-05-15 6:44 ` Geliang Tang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d50bb4210c8a8001f013eedd4b1563e9e9670ff6.1715755275.git.tanggeliang@kylinos.cn \
--to=geliang@kernel.org \
--cc=mptcp@lists.linux.dev \
--cc=tanggeliang@kylinos.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).