mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
bpf: Switch bpf_map_{area_alloc,area_mmapable_alloc}() to u64 size
Given we recently extended the original bpf_map_area_alloc() helper in commitfc9702273e("bpf: Add mmap() support for BPF_MAP_TYPE_ARRAY"), we need to apply the same logic as inff1c08e1f7("bpf: Change size to u64 for bpf_map_{area_alloc, charge_init}()"). To avoid conflicts, extend it for bpf-next. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
This commit is contained in:
parent
91e6015b08
commit
196e8ca748
2 changed files with 10 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue