Commit d8b5e76
selftests/bpf/test_offload.py: Only check verifier log on verification fails
Since commit 6f8a57c ("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: 6f8a57c ("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.dk1 parent e4ff5aa commit d8b5e76
1 file changed
+17
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
911 | 911 | | |
912 | 912 | | |
913 | 913 | | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
914 | 922 | | |
915 | 923 | | |
916 | 924 | | |
917 | 925 | | |
918 | | - | |
919 | 926 | | |
920 | 927 | | |
921 | 928 | | |
| |||
1032 | 1039 | | |
1033 | 1040 | | |
1034 | 1041 | | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
1035 | 1051 | | |
1036 | 1052 | | |
1037 | 1053 | | |
1038 | 1054 | | |
1039 | 1055 | | |
1040 | 1056 | | |
1041 | 1057 | | |
1042 | | - | |
1043 | 1058 | | |
1044 | 1059 | | |
1045 | 1060 | | |
| |||
0 commit comments