aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c
diff options
context:
space:
mode:
authorYafang Shao <[email protected]>2023-03-05 12:46:15 +0000
committerAlexei Starovoitov <[email protected]>2023-03-07 17:33:43 +0000
commit6b4a6ea2c62d34272d64161d43a19c02355576e2 (patch)
tree33e31263163cc0d003c2942de91b147606a60e38 /tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c
parentbpf: offload map memory usage (diff)
downloadkernel-6b4a6ea2c62d34272d64161d43a19c02355576e2.tar.gz
kernel-6b4a6ea2c62d34272d64161d43a19c02355576e2.zip
bpf: enforce all maps having memory usage callback
We have implemented memory usage callback for all maps, and we enforce any newly added map having a callback as well. We check this callback at map creation time. If it doesn't have the callback, we will return EINVAL. Signed-off-by: Yafang Shao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c')
0 files changed, 0 insertions, 0 deletions