Skip to content

Commit ac56ebe

Browse files
ahjf-07Kernel Patches Daemon
authored andcommitted
selftests/bpf: drop serial restriction
Patch 1/2 added PID filtering to the probe_user BPF program to avoid cross-test interference from the global connect() hooks. With the interference removed, drop the serial_ prefix and remove the stale TODO comment so the test can run in parallel. Tested: ./test_progs -t probe_user -v ./test_progs -j$(nproc) -t probe_user Signed-off-by: Sun Jian <sun.jian.kdev@gmail.com> Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
1 parent 7f0105b commit ac56ebe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/testing/selftests/bpf/prog_tests/probe_user.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
// SPDX-License-Identifier: GPL-2.0
22
#include <test_progs.h>
33

4-
/* TODO: corrupts other tests uses connect() */
5-
void serial_test_probe_user(void)
4+
void test_probe_user(void)
65
{
76
static const char *const prog_names[] = {
87
"handle_sys_connect",

0 commit comments

Comments
 (0)