Skip to content

Commit 304a658

Browse files
roxellgregkh
authored andcommitted
selftests/bpf: add config fragment BPF_JIT
[ Upstream commit 0604409 ] When running test_kmod.sh the following shows up # sysctl cannot stat /proc/sys/net/core/bpf_jit_enable No such file or directory cannot: stat_/proc/sys/net/core/bpf_jit_enable # # sysctl cannot stat /proc/sys/net/core/bpf_jit_harden No such file or directory cannot: stat_/proc/sys/net/core/bpf_jit_harden # Rework to enable CONFIG_BPF_JIT to solve "No such file or directory" Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent c963cd4 commit 304a658

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • tools/testing/selftests/bpf

‎tools/testing/selftests/bpf/config‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@ CONFIG_NET_MPLS_GSO=m
3434
CONFIG_MPLS_ROUTING=m
3535
CONFIG_MPLS_IPTUNNEL=m
3636
CONFIG_IPV6_SIT=m
37+
CONFIG_BPF_JIT=y

0 commit comments

Comments
 (0)