BPF direct packet access improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | bpf, verifier: enforce larger zero range for pkt on overloading stack buffskernel/ | +1 | 0 replies | |
| 2/3 | bpf: direct packet write and access for helpers for clsact progsinclude/ include/ include/ +3 more | +196 | 0 replies | |
| 3/3 | bpf: add test cases for direct packet accesssamples/ | +430 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Alexei Starovoitov |
|---|---|
| 1/3 | A-b |
| 2/3 | A-b |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/3] BPF direct packet access improvements
This set adds write support to the currently available read support for {cls,act}_bpf programs. First one is a fix for affected commit sitting in net-next and prerequisite for the second one, last patch adds a number of test cases against the verifier. For details, please see individual patches.
Thanks!
Daniel Borkmann (3):
bpf, verifier: enforce larger zero range for pkt on overloading stack buffs
bpf: direct packet write and access for helpers for clsact progs
bpf: add test cases for direct packet access
include/linux/bpf.h | 4 +- include/linux/skbuff.h | 14 +- include/uapi/linux/bpf.h | 21 +++ kernel/bpf/helpers.c | 3 + kernel/bpf/verifier.c | 56 ++++-- net/core/filter.c | 134 ++++++++++++-- samples/bpf/test_verifier.c | 433 +++++++++++++++++++++++++++++++++++++++++++- 7 files changed, 627 insertions(+), 38 deletions(-)
Signature · 1 line
1.9.3