Thadeu Lima de Souza Cascardo
52fda36d63
test_bpf: Fix testing with CONFIG_BPF_JIT_ALWAYS_ON=y on other arches
...
Function bpf_fill_maxinsns11 is designed to not be able to be JITed on
x86_64. So, it fails when CONFIG_BPF_JIT_ALWAYS_ON=y, and
commit 09584b4067 ("bpf: fix selftests/bpf test_kmod.sh failure when
CONFIG_BPF_JIT_ALWAYS_ON=y") makes sure that failure is detected on that
case.
However, it does not fail on other architectures, which have a different
JIT compiler design. So, test_bpf has started to fail to load on those.
After this fix, test_bpf loads fine on both x86_64 and ppc64el.
Fixes: 09584b4067 ("bpf: fix selftests/bpf test_kmod.sh failure when CONFIG_BPF_JIT_ALWAYS_ON=y")
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com >
Reviewed-by: Yonghong Song <yhs@fb.com >
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net >
2018-03-20 23:04:30 +01:00
..
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-10-03 17:54:25 -07:00
2017-11-02 11:10:55 +01:00
2017-12-22 19:39:09 +11:00
2017-11-02 11:10:55 +01:00
2017-10-12 15:10:12 +02:00
2017-08-15 09:02:08 -07:00
2017-11-02 11:10:55 +01:00
2017-12-01 13:09:40 -08:00
2017-12-01 13:09:40 -08:00
2017-12-08 15:13:27 +00:00
2017-12-04 10:52:56 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-02-06 18:32:44 -08:00
2017-12-11 09:58:39 -05:00
2017-11-17 16:10:01 -08:00
2017-11-02 11:10:55 +01:00
2018-01-12 23:03:01 +11:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-09-08 18:26:49 -07:00
2017-12-01 13:09:40 -08:00
2017-11-02 11:10:55 +01:00
2018-02-06 18:32:44 -08:00
2017-09-26 15:01:20 -06:00
2017-09-26 15:01:20 -06:00
2017-09-26 15:01:20 -06:00
2017-11-02 11:10:55 +01:00
2018-01-08 10:08:33 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-08-14 16:51:01 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-10-12 17:16:40 +01:00
2017-11-13 08:25:06 -08:00
2018-02-22 15:02:33 -08:00
2018-02-12 15:59:07 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-17 16:10:01 -08:00
2017-11-15 11:56:19 -08:00
2018-01-12 17:33:38 -08:00
2018-01-01 12:40:27 -07:00
2017-08-10 15:54:06 -07:00
2018-02-06 18:32:44 -08:00
2018-02-06 18:32:44 -08:00
2017-11-02 11:10:55 +01:00
2017-10-07 10:45:14 -06:00
2017-11-02 11:10:55 +01:00
2017-11-17 16:10:02 -08:00
2017-09-08 18:26:49 -07:00
2017-11-02 11:10:55 +01:00
2018-02-26 14:39:30 -05:00
2017-11-02 11:10:55 +01:00
2017-11-17 16:10:01 -08:00
2017-11-17 16:10:02 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 10:04:46 -07:00
2017-10-11 22:36:54 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-01-31 11:32:27 -08:00
2018-02-21 15:35:43 -08:00
2018-02-06 18:32:47 -08:00
2018-01-02 14:56:51 +01:00
2018-02-01 10:00:28 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-10-25 11:01:08 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-01 13:09:40 -08:00
2018-02-06 18:32:44 -08:00
2017-11-02 11:10:55 +01:00
2017-12-01 13:09:40 -08:00
2017-11-02 11:10:55 +01:00
2017-12-07 14:00:57 -05:00
2017-11-17 16:10:02 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-08 15:13:28 +00:00
2017-11-04 09:26:51 +09:00
2018-01-26 11:45:16 -06:00
2017-11-02 11:10:55 +01:00
2017-12-04 10:52:53 -08:00
2018-02-21 15:35:43 -08:00
2017-11-21 15:57:05 -08:00
2017-10-03 17:54:26 -07:00
2017-11-02 11:10:55 +01:00
2017-11-17 16:10:02 -08:00
2017-12-14 16:00:48 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-07 10:44:02 -05:00
2017-12-22 11:09:37 -07:00
2018-01-19 12:31:03 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-01-05 15:24:00 +01:00
2017-11-02 11:10:55 +01:00
2018-02-06 18:32:44 -08:00
2017-09-13 18:53:16 -07:00
2018-02-01 12:20:21 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-01-15 09:35:50 +01:00
2017-11-02 11:10:55 +01:00
2018-02-06 18:32:44 -08:00
2018-03-20 23:04:30 +01:00
2017-09-08 18:26:49 -07:00
2018-01-22 16:55:38 +01:00
2018-02-06 18:32:43 -08:00
2018-01-09 16:33:31 +01:00
2017-11-17 16:10:01 -08:00
2017-11-29 12:09:02 +11:00
2018-03-07 10:44:03 -05:00
2018-02-06 18:32:45 -08:00
2017-11-17 16:10:01 -08:00
2017-12-29 23:13:10 +01:00
2017-10-22 03:14:07 +01:00
2017-10-22 03:14:07 +01:00
2018-02-06 18:32:46 -08:00
2018-02-06 18:32:46 -08:00
2017-12-01 13:09:40 -08:00
2017-11-02 11:10:55 +01:00
2017-12-11 09:35:11 -05:00
2017-12-11 15:03:08 -07:00
2018-02-08 14:21:41 +01:00
2017-11-02 11:10:55 +01:00
2017-08-15 09:02:07 -07:00