Commit b6202f97897a13ef531b822ab326dfc7eb90bdaf

Authored by Eric Dumazet
Committed by David S. Miller
1 parent ad227425c9

bpf: depends on MODULES

module_alloc() and module_free() are available only if CONFIG_MODULES=y

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -238,6 +238,7 @@
238 238 config BPF_JIT
239 239 bool "enable BPF Just In Time compiler"
240 240 depends on HAVE_BPF_JIT
  241 + depends on MODULES
241 242 ---help---
242 243 Berkeley Packet Filter filtering capabilities are normally handled
243 244 by an interpreter. This option allows kernel to generate a native