Follow ups for kptr series
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
- v2 Latest4 patches 3 repliesApplied 4/4
- v14 patches 5 repliesSuperseded
Changes in v2 from the cover letter
v1: https://lore.kernel.org/bpf/[email protected]
* Add Fixes tag to patch 1
* Fix test_progs-noalu32 failure in CI due to different alloc_insn (Alexei)
* Remove per-CPU struct, use global struct (Alexei)
Patches in v2 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | bpf: Fix sparse warning for bpf_kptr_xchg_protoinclude/ | +1 | 0 replies | Applied |
| 2/4 | bpf: Prepare prog_test_struct kfuncs for runtime testsnet/ tools/ | +19 | 0 replies | Applied |
| 3/4 | selftests/bpf: Add negative C tests for kptrstools/ tools/ | +504 | 3 replies | Applied |
| 4/4 | selftests/bpf: Add tests for kptr_ref refcountingtools/ tools/ | +128 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH bpf-next v2 0/4] Follow ups for kptr series
Fix a build time warning, and address comments from Alexei on the merged version [0].
[0]: https://lore.kernel.org/bpf/[email protected]
Changelog:
----------
v1 -> v2
v1: https://lore.kernel.org/bpf/[email protected]
* Add Fixes tag to patch 1
* Fix test_progs-noalu32 failure in CI due to different alloc_insn (Alexei)
* Remove per-CPU struct, use global struct (Alexei)
Kumar Kartikeya Dwivedi (4):
bpf: Fix sparse warning for bpf_kptr_xchg_proto
bpf: Prepare prog_test_struct kfuncs for runtime tests selftests/bpf: Add negative C tests for kptrs selftests/bpf: Add tests for kptr_ref refcounting
include/linux/bpf.h | 1 + net/bpf/test_run.c | 23 +- .../selftests/bpf/prog_tests/map_kptr.c | 108 ++++- tools/testing/selftests/bpf/progs/map_kptr.c | 106 ++++- .../selftests/bpf/progs/map_kptr_fail.c | 418 ++++++++++++++++++ .../testing/selftests/bpf/verifier/map_kptr.c | 4 +- 6 files changed, 649 insertions(+), 11 deletions(-) create mode 100644 tools/testing/selftests/bpf/progs/map_kptr_fail.c
Signature · 1 line
2.35.1