diff options
author | Toke Høiland-Jørgensen <toke@redhat.com> | 2020-12-09 14:57:40 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-12-09 16:27:42 +0100 |
commit | d8b5e76ae4e02908d000397597c6bc2868362fbb (patch) | |
tree | fdc2b6fdee9350bbee002863b7f4d84918271b2d /COPYING | |
parent | e4ff5aa469403462091eb22e2b0843b894167e10 (diff) | |
download | linux-d8b5e76ae4e02908d000397597c6bc2868362fbb.tar.gz linux-d8b5e76ae4e02908d000397597c6bc2868362fbb.tar.bz2 linux-d8b5e76ae4e02908d000397597c6bc2868362fbb.zip |
selftests/bpf/test_offload.py: Only check verifier log on verification fails
Since commit 6f8a57ccf851 ("bpf: Make verifier log more relevant by
default"), the verifier discards log messages for successfully-verified
programs. This broke test_offload.py which is looking for a verification
message from the driver callback. Change test_offload.py to use the toggle
in netdevsim to make the verification fail before looking for the
verification message.
Fixes: 6f8a57ccf851 ("bpf: Make verifier log more relevant by default")
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/bpf/160752226069.110217.12370824996153348073.stgit@toke.dk
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions