selftests/bpf: Add a test case for kptr_rcu.
authorAlexei Starovoitov <ast@kernel.org>
Fri, 3 Mar 2023 04:14:44 +0000 (20:14 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 3 Mar 2023 16:42:20 +0000 (17:42 +0100)
commit838bd4ac9aa35bdf43bf0199fa8eef9d3a004611
treee951a0d2b854917192f0adbb0faa5e5ae44ac1f2
parent20c09d92faeefb8536f705d3a4629e0dc314c8a1
selftests/bpf: Add a test case for kptr_rcu.

Tweak existing map_kptr test to check kptr_rcu.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: David Vernet <void@manifault.com>
Link: https://lore.kernel.org/bpf/20230303041446.3630-5-alexei.starovoitov@gmail.com
tools/testing/selftests/bpf/progs/map_kptr.c