From: Eric Dumazet Date: Fri, 29 Apr 2011 17:20:53 +0000 (-0700) Subject: bpf: depends on MODULES X-Git-Tag: upstream/snapshot3+hdmi~10386^2~203 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b6202f97897a13ef531b822ab326dfc7eb90bdaf;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git bpf: depends on MODULES module_alloc() and module_free() are available only if CONFIG_MODULES=y Reported-by: Randy Dunlap Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- 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