Skip to content

bpf: fix bug in x64 JIT

Alexei Starovoitov bpf netdev 1 version Applied

Status from this message: Applied to bpf tree.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2bpf: fix x64 JIT code generation for jmp to 1st insnarch/x86/net/bpf_jit_comp.c+4 -33 replies
2/2selftests/bpf: tests for jmp to 1st insntools/testing/selftests/bpf/verifier/loops1.c+28 -01 reply

Reviews trailers per patch

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

PatchSong Liu
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 v1 thread

Cover letter [PATCH bpf 0/2] bpf: fix bug in x64 JIT

Fix bug in computation of the jump offset to 1st instruction in BPF JIT and add 2 tests.

Alexei Starovoitov (2):
bpf: fix x64 JIT code generation for jmp to 1st insn selftests/bpf: tests for jmp to 1st insn

 arch/x86/net/bpf_jit_comp.c                   |  7 +++--
 tools/testing/selftests/bpf/verifier/loops1.c | 28 +++++++++++++++++++
 2 files changed, 32 insertions(+), 3 deletions(-)
Signature · 1 line
2.20.0