mbox series

[bpf,0/2] bpf: clear zext_dst of dead insns

Message ID 20210812140518.183178-1-iii@linux.ibm.com (mailing list archive)
Headers show
Series bpf: clear zext_dst of dead insns | expand

Message

Ilya Leoshkevich Aug. 12, 2021, 2:05 p.m. UTC
Fix the "verifier bug. zext_dst is set, but no reg is defined" failure
in the "access skb fields ok" test on s390.

Patch 1 is the fix, patch 2 adds a test.

v1: https://lore.kernel.org/bpf/20210812111220.181824-1-iii@linux.ibm.com/
v1 -> v2: Rebase to bpf branch, add Fixes:, add a test (Daniel).

Ilya Leoshkevich (2):
  bpf: clear zext_dst of dead insns
  selftests: bpf: test that dead ldx_w insns are accepted

 kernel/bpf/verifier.c                            |  1 +
 tools/testing/selftests/bpf/verifier/dead_code.c | 13 +++++++++++++
 2 files changed, 14 insertions(+)