]> Git Repo - linux.git/commit
selftests/bpf: disable program test run for progs/refcounted_kptr.c
authorEduard Zingerman <[email protected]>
Thu, 20 Apr 2023 23:23:14 +0000 (02:23 +0300)
committerAlexei Starovoitov <[email protected]>
Thu, 20 Apr 2023 23:49:16 +0000 (16:49 -0700)
commit7c4b96c00043f3b2cad50653f085c178fda92e62
tree7e5e2d04d2b8b143aa933dde5e3e844dc2922cab
parent4b7ef71ac977899cf7bdb09d66052926c7d249ff
selftests/bpf: disable program test run for progs/refcounted_kptr.c

Florian Westphal found a bug in test_loader.c processing of __retval
tag. Because of this bug the function test_loader.c:do_prog_test_run()
never executed and all __retval test tags were ignored. This hid an
issue with progs/refcounted_kptr.c tests.

When __retval tag bug is fixed and refcounted_kptr.c tests are run
kernel reports various issues and eventually hangs. Shortest reproducer
is the following command run a few times:

  $ for i in $(seq 1 4); do (./test_progs --allow=refcounted_kptr &); done

Commenting out __retval tags for these tests until this issue is resolved.

Reported-by: Florian Westphal <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]/T/
Signed-off-by: Eduard Zingerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
tools/testing/selftests/bpf/progs/refcounted_kptr.c
This page took 0.063023 seconds and 4 git commands to generate.