bpfilter: fix build dependency
authorAlexei Starovoitov <ast@kernel.org>
Thu, 24 May 2018 04:29:05 +0000 (21:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 May 2018 13:33:28 +0000 (09:33 -0400)
commit61a552eb487f89dd99d480b711b9a073e22ab4c0
treea2b79d76f86136404c0d38d311614f18618328ab
parentfb83eb93c6aa74e2a2a210a110069738b2648132
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>
net/bpfilter/Kconfig