diff options
author | Andrii Nakryiko <[email protected]> | 2024-05-14 23:24:39 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-05-15 09:34:54 -0700 |
commit | 9ee98229083186837199912a7debb666146b8c17 (patch) | |
tree | ec01949d678ef183fc8ac9707ee5eaaeb7e62e04 /drivers/fpga/fpga-mgr.c | |
parent | 325423cafc12031a69692363ddcabc63113bb3d6 (diff) |
bpf: save extended inner map info for percpu array maps as well
ARRAY_OF_MAPS and HASH_OF_MAPS map types have special logic to save
a few extra fields required for correct operations of ARRAY maps, when
they are used as inner maps. PERCPU_ARRAY maps have similar
requirements as they now support generating inline element lookup
logic. So make sure that both classes of maps are handled correctly.
Reported-by: Jakub Kicinski <[email protected]>
Fixes: db69718b8efa ("bpf: inline bpf_map_lookup_elem() for PERCPU_ARRAY maps")
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Kumar Kartikeya Dwivedi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions