projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad22742
)
bpf: depends on MODULES
author
Eric Dumazet
<
[email protected]
>
Fri, 29 Apr 2011 17:20:53 +0000
(10:20 -0700)
committer
David S. Miller
<
[email protected]
>
Fri, 29 Apr 2011 17:20:53 +0000
(10:20 -0700)
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]
>
net/Kconfig
patch
|
blob
|
history
diff --git
a/net/Kconfig
b/net/Kconfig
index 745fb02d2fdad85ad1e72f06e9020472f886170b..878151c772c9ba9fbe8f89636790a52c22b5c889 100644
(file)
--- a/
net/Kconfig
+++ b/
net/Kconfig
@@
-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