Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61a552eb authored by Alexei Starovoitov's avatar Alexei Starovoitov Committed by David S. Miller
Browse files

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: d2ba09c1 ("net: add skeleton of bpfilter kernel module")
Reported-by: default avatarJakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Acked-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fb83eb93
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
menuconfig BPFILTER
menuconfig BPFILTER
	bool "BPF based packet filtering framework (BPFILTER)"
	bool "BPF based packet filtering framework (BPFILTER)"
	default n
	default n
	depends on NET && BPF
	depends on NET && BPF && INET
	help
	help
	  This builds experimental bpfilter framework that is aiming to
	  This builds experimental bpfilter framework that is aiming to
	  provide netfilter compatible functionality via BPF
	  provide netfilter compatible functionality via BPF