Fix garbage data in task local data
Status from this message: This series was applied to bpf/bpf.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | selftests/bpf: Prevent allocating data larger than a pagetools/ tools/ | +15 | 0 replies | Applied |
| 2/3 | selftests/bpf: Fix tld_get_data() returning garbage datatools/ tools/ | +11 | 0 replies | Applied |
| 3/3 | selftests/bpf: Test small task local data allocationtools/ | +74 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH bpf-next v1 0/3] Fix garbage data in task local data
Hi,
The patchset fixes two scenarios where BPF side task local data API may see garbage data and adds corresponding selftests.
Amery Hung (3):
selftests/bpf: Prevent allocating data larger than a page selftests/bpf: Fix tld_get_data() returning garbage data selftests/bpf: Test small task local data allocation
.../bpf/prog_tests/task_local_data.h | 13 ++- .../bpf/prog_tests/test_task_local_data.c | 96 +++++++++++++++++-- .../selftests/bpf/progs/task_local_data.bpf.h | 5 +- 3 files changed, 100 insertions(+), 14 deletions(-)
Signature · 1 line
2.52.0