mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-09 16:00:22 +08:00
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>