aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDaniel Borkmann2022-01-12 12:39:48 +0000
committerDaniel Borkmann2022-01-19 01:27:03 +0100
commit37c8d4807d1b8b521b30310dce97f6695dc2c2c6 (patch)
tree338441804d596c6fa819c214b8faa5046f74aaac /net
parent722e4db3ae0d52b2e3801280afbe19cf2d188e91 (diff)
bpf, selftests: Add ringbuf memory type confusion test
Add two tests, one which asserts that ring buffer memory can be passed to other helpers for populating its entry area, and another one where verifier rejects different type of memory passed to bpf_ringbuf_submit(). Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: John Fastabend <john.fastabend@gmail.com> Acked-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions