bpf: set inner_map_meta->spin_lock_off correctly
Status from this message: Applied, Thanks
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: set inner_map_meta->spin_lock_off correctlykernel/ | +1 | 6 replies | |
| 2/2 | tools/bpf: selftests: add map lookup to test_map_in_map bpf progtools/ | +4 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Andrii Nakryiko |
|---|---|
| 1/2 | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf-next 0/2] bpf: set inner_map_meta->spin_lock_off correctly
The inner_map_meta->spin_lock_off is not set correctly during map creation for BPF_MAP_TYPE_ARRAY_OF_MAPS and BPF_MAP_TYPE_HASH_OF_MAPS. This may lead verifier error due to misinformation.
This patch set fixed the issue with Patch #1 for the kernel change and Patch #2 for enhanced selftest test_maps.
Yonghong Song (2):
bpf: set inner_map_meta->spin_lock_off correctly tools/bpf: selftests: add map lookup to test_map_in_map bpf prog
kernel/bpf/map_in_map.c | 1 + tools/testing/selftests/bpf/progs/test_map_in_map.c | 4 ++++ 2 files changed, 5 insertions(+)
Signature · 1 line
2.17.1