diff options
author | Yonghong Song <yhs@fb.com> | 2022-12-03 10:46:07 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-12-04 12:52:40 -0800 |
commit | 8723ec22a31db3f400fce440c235ada0fff95657 (patch) | |
tree | 1a76120b9fa8dcff791817cb5e0c689146728946 /tools/testing/selftests/bpf/prog_tests/stacktrace_map.c | |
parent | fca1aa75518c03b04c3c249e9a9134faf9ca18c5 (diff) |
selftests/bpf: Fix rcu_read_lock test with new MEM_RCU semantics
Add MEM_RCU pointer null checking for related tests. Also
modified task_acquire test so it takes a rcu ptr 'ptr' where
'ptr = rcu_ptr->rcu_field'.
Signed-off-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/r/20221203184607.478314-1-yhs@fb.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/stacktrace_map.c')
0 files changed, 0 insertions, 0 deletions