bpfilter: fix build dependency
Subsystems (2)
PATCH 1/1 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 <[email protected]>
Signed-off-by Alexei Starovoitov <[email protected]>
--- net/bpfilter/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/bpfilter/Kconfig +1 -1
@@ -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
Signature · 1 line
2.9.5
Quoted 6 lines · Alexei Starovoitov
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 <[email protected]>Signed-off-by Alexei Starovoitov <[email protected]>
Acked-by Daniel Borkmann <[email protected]>
From: Alexei Starovoitov <[email protected]>
Date: Wed, 23 May 2018 21:29:05 -0700
Quoted 6 lines
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 <[email protected]>Signed-off-by Alexei Starovoitov <[email protected]>
Applied, thanks.