From f346d1874a26b701d4e2a2bfd2598f8badd1b2bd Mon Sep 17 00:00:00 2001 From: Geliang Tang Date: Thu, 16 May 2024 16:38:57 +0800 Subject: [PATCH] Squash to "selftests/bpf: Add bpf scheduler test" create_netns() is updated in "bpf-next add netns helpers" series, sched_init() needs to be updated too. 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 dec5a54ff517d6..75c19a70276d34 100644 --- a/tools/testing/selftests/bpf/prog_tests/mptcp.c +++ b/tools/testing/selftests/bpf/prog_tests/mptcp.c @@ -457,7 +457,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;