diff options
author | 2022-05-12 01:16:54 +0530 | |
---|---|---|
committer | 2022-05-11 16:57:27 -0700 | |
commit | 0ef6740e97777bbe04aeacd32239ccb1732098d7 (patch) | |
tree | bb6dfa8f502812fcf7a081aa26b0ae0b2603b287 /kernel/bpf/arraymap.c | |
parent | selftests/bpf: Add negative C tests for kptrs (diff) | |
download | linux-dev-0ef6740e97777bbe04aeacd32239ccb1732098d7.tar.xz linux-dev-0ef6740e97777bbe04aeacd32239ccb1732098d7.zip |
selftests/bpf: Add tests for kptr_ref refcounting
Check at runtime how various operations for kptr_ref affect its refcount
and verify against the actual count.
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20220511194654.765705-5-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions