Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 37c8d480 authored by Daniel Borkmann's avatar Daniel Borkmann
Browse files

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: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarJohn Fastabend <john.fastabend@gmail.com>
Acked-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 722e4db3
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment