diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-04-29 13:20:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-29 13:20:53 -0400 |
commit | b6202f97897a13ef531b822ab326dfc7eb90bdaf (patch) | |
tree | 9b940834a398a90fc966d8b325055a58fa821ecc /net | |
parent | ad227425c9ca907b5498e2558320b7e585d86ec9 (diff) |
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig index 745fb02d2fda..878151c772c9 100644 --- a/net/Kconfig +++ b/net/Kconfig | |||
@@ -238,6 +238,7 @@ config HAVE_BPF_JIT | |||
238 | config BPF_JIT | 238 | config BPF_JIT |
239 | bool "enable BPF Just In Time compiler" | 239 | bool "enable BPF Just In Time compiler" |
240 | depends on HAVE_BPF_JIT | 240 | depends on HAVE_BPF_JIT |
241 | depends on MODULES | ||
241 | ---help--- | 242 | ---help--- |
242 | Berkeley Packet Filter filtering capabilities are normally handled | 243 | Berkeley Packet Filter filtering capabilities are normally handled |
243 | by an interpreter. This option allows kernel to generate a native | 244 | by an interpreter. This option allows kernel to generate a native |