Skip to content

Commit

Permalink
Squash to "selftests/bpf: Add bpf scheduler test"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geliang Tang committed May 28, 2024
1 parent 2e3355e commit fc08ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/bpf/prog_tests/mptcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,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;

Expand Down

0 comments on commit fc08ac4

Please sign in to comment.