summaryrefslogtreecommitdiff
path: root/net/bpfilter/Kconfig
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2018-05-23 21:29:05 -0700
committerDavid S. Miller <davem@davemloft.net>2018-05-24 09:33:28 -0400
commit61a552eb487f89dd99d480b711b9a073e22ab4c0 (patch)
treea2b79d76f86136404c0d38d311614f18618328ab /net/bpfilter/Kconfig
parentfb83eb93c6aa74e2a2a210a110069738b2648132 (diff)
bpfilter: fix build dependency
BPFILTER could have been enabled without INET causing this build error: ERROR: "bpfilter_process_sockopt" [net/bpfilter/bpfilter.ko] undefined! Fixes: d2ba09c17a06 ("net: add skeleton of bpfilter kernel module") Reported-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bpfilter/Kconfig')
-rw-r--r--net/bpfilter/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bpfilter/Kconfig b/net/bpfilter/Kconfig
index 60725c5f79db..a948b072c28f 100644
--- a/net/bpfilter/Kconfig
+++ b/net/bpfilter/Kconfig
@@ -1,7 +1,7 @@
menuconfig BPFILTER
bool "BPF based packet filtering framework (BPFILTER)"
default n
- depends on NET && BPF
+ depends on NET && BPF && INET
help
This builds experimental bpfilter framework that is aiming to
provide netfilter compatible functionality via BPF