Misc BPF updates
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | bpf: avoid excessive stack usage for perf_sample_datakernel/ | +6 | 0 replies | |
| 2/8 | bpf: don't check spilled reg state for non-STACK_SPILLed type slotskernel/ | +2 | 0 replies | |
| 3/8 | bpf: reset id on CONST_IMM transitionkernel/ | +2 | 0 replies | |
| 4/8 | bpf: reset id on spilled regs in clear_all_pkt_pointerskernel/ | +2 | 0 replies | |
| 5/8 | bpf, tests: add a test for htab lookup + update traversaltools/ | +50 | 0 replies | |
| 6/8 | bpf, tests: set rlimit also for test_align, so it doesn't failtools/ | +5 | 0 replies | |
| 7/8 | bpf: remove cg_skb_func_proto and use sk_filter_func_proto directlynet/ | +1 | 0 replies | |
| 8/8 | bpf: add bpf_set_hash helper for tc progsinclude/ net/ tools/ | +34 | 0 replies |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Alexei Starovoitov |
|---|---|
| 1/8 | A-b |
| 2/8 | A-b |
| 3/8 | A-b |
| 4/8 | A-b |
| 5/8 | A-b |
| 6/8 | A-b |
| 7/8 | A-b |
| 8/8 | 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/8] Misc BPF updates
This set contains a couple of misc updates: stack usage reduction for perf_sample_data in tracing progs, reduction of stale data in verifier on register state transitions that I still had in my queue and few selftest improvements as well as bpf_set_hash() helper for tc programs.
Thanks!
Daniel Borkmann (8):
bpf: avoid excessive stack usage for perf_sample_data
bpf: don't check spilled reg state for non-STACK_SPILLed type slots
bpf: reset id on CONST_IMM transition
bpf: reset id on spilled regs in clear_all_pkt_pointers bpf, tests: add a test for htab lookup + update traversal bpf, tests: set rlimit also for test_align, so it doesn't fail
bpf: remove cg_skb_func_proto and use sk_filter_func_proto directly
bpf: add bpf_set_hash helper for tc progs
include/uapi/linux/bpf.h | 8 ++++- kernel/bpf/verifier.c | 8 +++-- kernel/trace/bpf_trace.c | 10 ++++--- net/core/filter.c | 28 +++++++++++++----- tools/include/uapi/linux/bpf.h | 8 ++++- tools/testing/selftests/bpf/test_align.c | 5 ++++ tools/testing/selftests/bpf/test_maps.c | 50 ++++++++++++++++++++++++++++++++ 7 files changed, 102 insertions(+), 15 deletions(-)
Signature · 1 line
1.9.3