Message ID | 1304097558.2686.6.camel@edumazet-laptop |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Eric Dumazet <eric.dumazet@gmail.com> Date: Fri, 29 Apr 2011 19:19:18 +0200 > [PATCH net-next-2.6] 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> Applied, thanks. Perhaps we can solve these things by seperating out the dependency, via "CONFIG_MODULE_ALLOC" and making things like KPROBES and BPF 'select' it. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/Kconfig b/net/Kconfig index 745fb02..878151c 100644 --- 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