BPF updates
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | net: filter: simplify label names from jump-tableinclude/ net/ | +157 | 0 replies | |
| 2/5 | net: filter: misc/various cleanupsnet/ | +10 | 0 replies | |
| 3/5 | net: filter: get rid of sock_fprog_kerninclude/ net/ net/ | +19 | 0 replies | |
| 4/5 | net: filter: make register namings more comprehensibleinclude/ net/ | +145 | 0 replies | |
| 5/5 | net: filter: optimize BPF migration for ARG1/CTX handlingnet/ | +1 | 9 replies |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Alexei Starovoitov |
|---|---|
| 1/5 | A-b |
| 2/5 | A-b |
| 3/5 | A-b |
| 4/5 | A-b |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/5] BPF updates
I had these cleanups still in my queue before the merge window. The set is against net-next tree, but with 83d5b7ef99 ("net: filter:
initialize A and X registers") applied on top of it, so a merge of net into net-next would be required *before* applying this set.
The main objective for these updates is that we get the code a bit more readable/comprehensible and avoid one additional instruction in the interpreter during fast-path.
Tested with Alexei's BPF test suite and seccomp test suite, no issues found.
Thanks!
Daniel Borkmann (5):
net: filter: simplify label names from jump-table
net: filter: misc/various cleanups
net: filter: get rid of sock_fprog_kern
net: filter: make register namings more comprehensible
net: filter: optimize BPF migration for ARG1/CTX handling
include/linux/filter.h | 60 ++++-- net/core/filter.c | 564 ++++++++++++++++++++++++------------------------- net/core/sock_diag.c | 4 +- 3 files changed, 325 insertions(+), 303 deletions(-)
Signature · 1 line
1.7.11.7