Fix ring buffer callback consumption
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
Patches in v1 All 6 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | libbpf: Honor zero consume boundstools/ | +3 | 0 replies | Applied |
| 2/6 | libbpf: Prevent NULL callback crashtools/ tools/ | +43 | 0 replies | Applied |
| 3/6 | libbpf: Reject overwrite callback usetools/ tools/ | +5 | 0 replies | Applied |
| 4/6 | selftests/bpf: Test ring buffer consumption with a zero boundtools/ | +13 | 0 replies | Applied |
| 5/6 | selftests/bpf: Test the ring buffer consumer with a NULL sample callbacktools/ | +93 | 0 replies | Applied |
| 6/6 | selftests/bpf: Test that callbacks reject an overwritable ring buffertools/ | +39 | 0 replies | Applied |
Reviews trailers per patch
2 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Emil Tsalapatis | Eduard Zingerman |
|---|---|---|
| 1/6 | R-b | A-b |
| 2/6 | ||
| 3/6 | ||
| 4/6 | R-b | A-b |
| 5/6 | ||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf-next v1 0/6] Fix ring buffer callback consumption
Commandeering some patches from Tamir for libbpf ringbuf callback consumption fixes. See commit logs for details.
Tamir Duberstein (6):
libbpf: Honor zero consume bounds
libbpf: Prevent NULL callback crash
libbpf: Reject overwrite callback use
selftests/bpf: Test ring buffer consumption with a zero bound selftests/bpf: Test the ring buffer consumer with a NULL sample
callback
selftests/bpf: Test that callbacks reject an overwritable ring buffer
tools/lib/bpf/libbpf.h | 12 +- tools/lib/bpf/ringbuf.c | 50 +++++- .../selftests/bpf/prog_tests/ringbuf.c | 145 ++++++++++++++++++ 3 files changed, 196 insertions(+), 11 deletions(-)
base-commit: bd75869299f1d4ff6e9f45117cce28f8badee1cd
Signature · 1 line
2.53.0