Skip to content
Commit 196e8ca7 authored by Daniel Borkmann's avatar Daniel Borkmann
Browse files

bpf: Switch bpf_map_{area_alloc,area_mmapable_alloc}() to u64 size



Given we recently extended the original bpf_map_area_alloc() helper in
commit fc970227 ("bpf: Add mmap() support for BPF_MAP_TYPE_ARRAY"),
we need to apply the same logic as in ff1c08e1 ("bpf: Change size
to u64 for bpf_map_{area_alloc, charge_init}()"). To avoid conflicts,
extend it for bpf-next.

Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent 91e6015b
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