Files
erofs-linux/lib
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 <[email protected]>
Reviewed-by: Yonghong Song <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
2018-03-20 23:04:30 +01:00
..
…
2017-12-22 19:39:09 +11:00
…
…
2017-12-01 13:09:40 -08:00
2017-12-01 13:09:40 -08:00
…
…
…
…
…
…
2017-12-01 13:09:40 -08:00
…
2018-02-06 18:32:44 -08:00
…
…
…
…
…
…
2018-01-01 12:40:27 -07:00
…
…
…
…
…
…
2018-02-06 18:32:44 -08:00
…
…
…
2018-02-26 14:39:30 -05:00
2017-11-17 16:10:01 -08:00
2018-02-06 18:32:47 -08:00
…
…
…
2017-12-01 13:09:40 -08:00
2017-12-01 13:09:40 -08:00
…
…
…
2018-02-21 15:35:43 -08:00
…
…
2018-01-15 09:35:50 +01:00
2018-01-09 16:33:31 +01:00
…
2017-12-01 13:09:40 -08:00
…