netfilter: arptables: allow xtables-nft only builds
authorFlorian Westphal <fw@strlen.de>
Tue, 23 Jan 2024 15:42:48 +0000 (16:42 +0100)
committerFlorian Westphal <fw@strlen.de>
Mon, 29 Jan 2024 14:43:20 +0000 (15:43 +0100)
commit4654467dc7e111e84f43ed1b70322873ae77e7be
tree641d92fbb4c2e527c69a594c57a59aa4faa12819
parentd5f9142fb96d4386ff4d06745bbd8f8c73b3791b
netfilter: arptables: allow xtables-nft only builds

Allows to build kernel that supports the arptables mangle target
via nftables' compat infra but without the arptables get/setsockopt
interface or the old arptables filter interpreter.

IOW, setting IP_NF_ARPFILTER=n will break arptables-legacy, but
arptables-nft will continue to work as long as nftables compat
support is enabled.

Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Phil Sutter <phil@nwl.cc>
net/ipv4/netfilter/Kconfig