bpf: Add percpu map value size check
Status from this message: This series was applied to bpf/bpf-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 0 repliesApplied 2/2
- v22 patches 5 repliesSuperseded
- v1 RFC1 patch 2 repliesSuperseded
Patches in v3 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: Check percpu map value size firstkernel/ kernel/ | +6 | 0 replies | Applied |
| 2/2 | bpf/selftests: Check errno when percpu map value size exceedstools/ | +18 | 0 replies | Applied |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Jiri Olsa | Andrii Nakryiko |
|---|---|---|
| 1/2 | A-b | A-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [v3 PATCH bpf-next 0/2] bpf: Add percpu map value size check
Check percpu map value size first and add the test case in selftest.
Change list:
- v2 -> v3:
- use bpf_map_create API and mv test case in map_percpu_stats.c
- v1 -> v2:
- round up map value size with 8 bytes in patch 1
- add selftest case in patch 2
Tao Chen (2):
bpf: Check percpu map value size first bpf/selftests: Check errno when percpu map value size exceeds
kernel/bpf/arraymap.c | 3 +++ kernel/bpf/hashtab.c | 3 +++ .../selftests/bpf/map_tests/map_percpu_stats.c | 18 ++++++++++++++++++ 3 files changed, 24 insertions(+)
Signature · 1 line
2.43.0