netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf 0/2] bpf: fix bug in x64 JIT
@ 2019-07-31  1:38 Alexei Starovoitov
  2019-07-31  1:38 ` [PATCH bpf 1/2] bpf: fix x64 JIT code generation for jmp to 1st insn Alexei Starovoitov
  2019-07-31  1:38 ` [PATCH bpf 2/2] selftests/bpf: tests " Alexei Starovoitov
  0 siblings, 2 replies; 7+ messages in thread
From: Alexei Starovoitov @ 2019-07-31  1:38 UTC (permalink / raw)
  To: davem; +Cc: daniel, netdev, bpf, kernel-team

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(-)

-- 
2.20.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-08-01 20:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-31  1:38 [PATCH bpf 0/2] bpf: fix bug in x64 JIT Alexei Starovoitov
2019-07-31  1:38 ` [PATCH bpf 1/2] bpf: fix x64 JIT code generation for jmp to 1st insn Alexei Starovoitov
2019-07-31 19:35   ` Song Liu
2019-08-01  3:43     ` Alexei Starovoitov
2019-08-01 20:44       ` Alexei Starovoitov
2019-07-31  1:38 ` [PATCH bpf 2/2] selftests/bpf: tests " Alexei Starovoitov
2019-07-31 19:38   ` Song Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).