diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2024-05-06 17:13:31 -0700 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2024-05-07 16:21:59 -0700 |
commit | 9d66d60e968d85742569d025a2fb509cb57333bb (patch) | |
tree | 0056133a1840fba0679ecead0f07574264f7a33f /tools/lib/bpf/str_error.c | |
parent | e18e2e70dbd1ee3099049557060067b6ec703efa (diff) | |
download | linux-9d66d60e968d85742569d025a2fb509cb57333bb.tar.gz linux-9d66d60e968d85742569d025a2fb509cb57333bb.tar.bz2 linux-9d66d60e968d85742569d025a2fb509cb57333bb.zip |
selftests/bpf: add another struct_ops callback use case test
Add a test which tests the case that was just fixed. Kernel has full
type information about callback, but user explicitly nulls out the
reference to declaratively set BPF program reference.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20240507001335.1445325-4-andrii@kernel.org
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/lib/bpf/str_error.c')
0 files changed, 0 insertions, 0 deletions