Skip to content

Misc BPF updates

Daniel Borkmann netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8bpf: avoid excessive stack usage for perf_sample_datakernel/trace/bpf_trace.c+6 -40 replies
2/8bpf: don't check spilled reg state for non-STACK_SPILLed type slotskernel/bpf/verifier.c+2 -00 replies
3/8bpf: reset id on CONST_IMM transitionkernel/bpf/verifier.c+2 -00 replies
4/8bpf: reset id on spilled regs in clear_all_pkt_pointerskernel/bpf/verifier.c+2 -20 replies
5/8bpf, tests: add a test for htab lookup + update traversaltools/testing/selftests/bpf/test_maps.c+50 -00 replies
6/8bpf, tests: set rlimit also for test_align, so it doesn't failtools/testing/selftests/bpf/test_align.c+5 -00 replies
7/8bpf: remove cg_skb_func_proto and use sk_filter_func_proto directlynet/core/filter.c+1 -70 replies
8/8bpf: add bpf_set_hash helper for tc progsinclude/uapi/linux/bpf.h net/core/filter.c tools/include/uapi/linux/bpf.h+34 -20 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchAlexei Starovoitov
1/8A-b
2/8A-b
3/8A-b
4/8A-b
5/8A-b
6/8A-b
7/8A-b
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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