summaryrefslogtreecommitdiff
path: root/net/xdp
diff options
context:
space:
mode:
authorJP Kobryn <inwardvessel@gmail.com>2023-03-22 12:47:53 -0700
committerAlexei Starovoitov <ast@kernel.org>2023-03-22 15:11:06 -0700
commit830154cdc57971b06f81d4ffc39b868e3d7693de (patch)
tree49341537b04bcedddfc578730e56fe3167589932 /net/xdp
parentd9d93f3b61434bc18ec905eaad224407cce1a9e2 (diff)
bpf/selftests: coverage for bpf_map_ops errors
These tests expose the issue of being unable to properly check for errors returned from inlined bpf map helpers that make calls to the bpf_map_ops functions. At best, a check for zero or non-zero can be done but these tests show it is not possible to check for a negative value or for a specific error value. Signed-off-by: JP Kobryn <inwardvessel@gmail.com> Tested-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/r/20230322194754.185781-2-inwardvessel@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net/xdp')
0 files changed, 0 insertions, 0 deletions