From: Ilya Leoshkevich <iii@linux.ibm.com>
To: Alexei Starovoitov <ast@kernel.org>,
Daniel Borkmann <daniel@iogearbox.net>
Cc: bpf@vger.kernel.org, Heiko Carstens <hca@linux.ibm.com>,
Vasily Gorbik <gor@linux.ibm.com>,
Ilya Leoshkevich <iii@linux.ibm.com>
Subject: [PATCH bpf v3 0/2] selftests: bpf: test that dead ldx_w insns are accepted
Date: Thu, 12 Aug 2021 17:18:09 +0200 [thread overview]
Message-ID: <20210812151811.184086-1-iii@linux.ibm.com> (raw)
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.
v2: https://lore.kernel.org/bpf/20210812140518.183178-1-iii@linux.ibm.com/
v2 -> v3: Make sure that the test fails in absence of the fix.
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 | 12 ++++++++++++
2 files changed, 13 insertions(+)
--
2.31.1
next reply other threads:[~2021-08-12 15:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-12 15:18 Ilya Leoshkevich [this message]
2021-08-12 15:18 ` [PATCH bpf v3 1/2] bpf: clear zext_dst of dead insns Ilya Leoshkevich
2021-08-12 15:18 ` [PATCH bpf v3 2/2] selftests: bpf: test that dead ldx_w insns are accepted Ilya Leoshkevich
2021-08-13 15:50 ` [PATCH bpf v3 0/2] " patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210812151811.184086-1-iii@linux.ibm.com \
--to=iii@linux.ibm.com \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=gor@linux.ibm.com \
--cc=hca@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).