Commit b6202f97 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

bpf: depends on MODULES

module_alloc() and module_free() are available only if CONFIG_MODULES=y
Reported-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ad227425
...@@ -238,6 +238,7 @@ config HAVE_BPF_JIT ...@@ -238,6 +238,7 @@ config HAVE_BPF_JIT
config BPF_JIT config BPF_JIT
bool "enable BPF Just In Time compiler" bool "enable BPF Just In Time compiler"
depends on HAVE_BPF_JIT depends on HAVE_BPF_JIT
depends on MODULES
---help--- ---help---
Berkeley Packet Filter filtering capabilities are normally handled Berkeley Packet Filter filtering capabilities are normally handled
by an interpreter. This option allows kernel to generate a native by an interpreter. This option allows kernel to generate a native
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment