summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDavid Miller2018-11-29 07:33:53 +0100
committerGreg Kroah-Hartman2018-12-21 14:15:16 +0100
commit85099bea974387501dcde072e2eccb7317ec59ee (patch)
tree8436df44490a1fa284fefe1e3f0de9481d5b599e /tools
parentbonding: fix 802.3ad state sent to partner when unbinding slave (diff)
downloadkernel-qcow2-linux-85099bea974387501dcde072e2eccb7317ec59ee.tar.gz
kernel-qcow2-linux-85099bea974387501dcde072e2eccb7317ec59ee.tar.xz
kernel-qcow2-linux-85099bea974387501dcde072e2eccb7317ec59ee.zip
bpf: Fix verifier log string check for bad alignment.
[ Upstream commit c01ac66b38660f2b507ccd0b75d28e3002d56fbb ] The message got changed a lot time ago. This was responsible for 36 test case failures on sparc64. Fixes: f1174f77b50c ("bpf/verifier: rework value tracking") Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/bpf/test_verifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/test_verifier.c b/tools/testing/selftests/bpf/test_verifier.c
index 2bde9ee04db7..e436b67f2426 100644
--- a/tools/testing/selftests/bpf/test_verifier.c
+++ b/tools/testing/selftests/bpf/test_verifier.c
@@ -12765,7 +12765,7 @@ static void do_test_single(struct bpf_test *test, bool unpriv,
reject_from_alignment = fd_prog < 0 &&
(test->flags & F_NEEDS_EFFICIENT_UNALIGNED_ACCESS) &&
- strstr(bpf_vlog, "Unknown alignment.");
+ strstr(bpf_vlog, "misaligned");
#ifdef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS
if (reject_from_alignment) {
printf("FAIL\nFailed due to alignment despite having efficient unaligned access: '%s'!\n",