From 61a552eb487f89dd99d480b711b9a073e22ab4c0 Mon Sep 17 00:00:00 2001 From: Alexei Starovoitov Date: Wed, 23 May 2018 21:29:05 -0700 Subject: [PATCH] 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 Signed-off-by: Alexei Starovoitov Acked-by: Daniel Borkmann Signed-off-by: David S. Miller --- net/bpfilter/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2