Skip to content

Commit

Permalink
bpf: depends on MODULES
Browse files Browse the repository at this point in the history
module_alloc() and module_free() are available only if CONFIG_MODULES=y

Reported-by: Randy Dunlap <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Eric Dumazet authored and davem330 committed Apr 29, 2011
1 parent ad22742 commit b6202f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ config HAVE_BPF_JIT
config BPF_JIT
bool "enable BPF Just In Time compiler"
depends on HAVE_BPF_JIT
depends on MODULES
---help---
Berkeley Packet Filter filtering capabilities are normally handled
by an interpreter. This option allows kernel to generate a native
Expand Down

0 comments on commit b6202f9

Please sign in to comment.