commit | 196e8ca74886c433dcfc64a809707074b936aaf5 | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <daniel@iogearbox.net> | Wed Nov 20 23:04:44 2019 +0100 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed Nov 20 23:18:58 2019 +0100 |
tree | 9f3f34d9f9792de7b9e7c5285926341f1957a9a2 | |
parent | 91e6015b082b08a74e5d9d326f651e5890a93519 [diff] |
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 fc9702273e2e ("bpf: Add mmap() support for BPF_MAP_TYPE_ARRAY"), we need to apply the same logic as in ff1c08e1f74b ("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>