Skip to content
Snippets Groups Projects
Commit 0c38740c authored by Andrii Nakryiko's avatar Andrii Nakryiko Committed by Alexei Starovoitov
Browse files

selftests/bpf: Fix ringbuf test fetching map FD


Seems like 4d1b6298 ("selftests/bpf: Convert few tests to light skeleton.")
and 704e2beb ("selftests/bpf: Test ringbuf mmap read-only and read-write
restrictions") were done independently on bpf and bpf-next trees and are in
conflict with each other, despite a clean merge. Fix fetching of ringbuf's
map_fd to use light skeleton properly.

Fixes: 704e2beb ("selftests/bpf: Test ringbuf mmap read-only and read-write restrictions")
Fixes: 4d1b6298 ("selftests/bpf: Convert few tests to light skeleton.")
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210618002824.2081922-1-andrii@kernel.org
parent 8fe088bd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment