Skip to content

Allow fixed offsets for PTR_TO_CTX

Kumar Kartikeya Dwivedi bpf 1 version Applied

Status from this message: This series was applied to bpf/bpf-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2bpf: Relax fixed offset check for PTR_TO_CTXkernel/bpf/verifier.c+12 -11 replyApplied
2/2selftests/bpf: Add tests for ctx fixed offset supporttools/testing/selftests/bpf/progs/verifier_ctx.c+76 -01 replyApplied

Reviews trailers per patch

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

PatchEmil Tsalapatis
1/2R-b
2/2R-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 bpf-next v1 0/2] Allow fixed offsets for PTR_TO_CTX

Enable pointer modification with constant offsets accumulated in the register for PTR_TO_CTX for programs where it won't be rewritten. See patches for details.

Kumar Kartikeya Dwivedi (2):
bpf: Relax fixed offset check for PTR_TO_CTX selftests/bpf: Add tests for ctx fixed offset support

 kernel/bpf/verifier.c                         | 13 +++-
 .../selftests/bpf/progs/verifier_ctx.c        | 76 +++++++++++++++++++
 2 files changed, 88 insertions(+), 1 deletion(-)

base-commit: f620af11c27b8ec9994a39fe968aa778112d1566

Signature · 1 line
2.47.3