Skip to content

More flexible BPF cb access

Daniel Borkmann netdev 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Fix typo in test case description spotted by Quentin
- Rest as-is

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2bpf: pass original insn directly to convert_ctx_accessinclude/linux/bpf.h kernel/bpf/verifier.c kernel/trace/bpf_trace.c +1 more+87 -770 replies
2/2bpf: allow b/h/w/dw access for bpf's cb in ctxkernel/bpf/verifier.c net/core/filter.c tools/testing/selftests/bpf/test_verifier.c+478 -130 replies

Reviews trailers per patch

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

PatchAlexei Starovoitov
1/2A-b
2/2A-b

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

Read the v2 thread

Cover letter [PATCH net-next v2 0/2] More flexible BPF cb access

This patch improves BPF's cb access by allowing b/h/w/dw access variants on it. For details, please see individual patches.

Thanks!

v1 -> v2:
- Fix typo in test case description spotted by Quentin
- Rest as-is

Daniel Borkmann (2):
bpf: pass original insn directly to convert_ctx_access
bpf: allow b/h/w/dw access for bpf's cb in ctx

 include/linux/bpf.h                         |   7 +-
 kernel/bpf/verifier.c                       |  11 +-
 kernel/trace/bpf_trace.c                    |  15 +-
 net/core/filter.c                           | 176 ++++++-----
 tools/testing/selftests/bpf/test_verifier.c | 442 +++++++++++++++++++++++++++-
 5 files changed, 563 insertions(+), 88 deletions(-)
Signature · 1 line
1.9.3