netfilter: ebtables: allow xtables-nft only builds
authorFlorian Westphal <fw@strlen.de>
Wed, 24 Jan 2024 09:21:12 +0000 (10:21 +0100)
committerFlorian Westphal <fw@strlen.de>
Mon, 29 Jan 2024 14:43:21 +0000 (15:43 +0100)
commit7ad269787b6615ca56bb161063331991fce51abf
tree741b168aec73f45f8287a0dedcb0f74b7f8176fb
parenta9525c7f6219cee9284c0031c5930e8d41384677
netfilter: ebtables: allow xtables-nft only builds

Same patch as previous one, but for ebtables.

To build a kernel that only supports ebtables-nft, the builtin tables
need to be disabled, i.e.:

CONFIG_BRIDGE_EBT_BROUTE=n
CONFIG_BRIDGE_EBT_T_FILTER=n
CONFIG_BRIDGE_EBT_T_NAT=n

The ebtables specific extensions can then be used nftables'
NFT_COMPAT interface.

Signed-off-by: Florian Westphal <fw@strlen.de>
net/bridge/netfilter/Kconfig
net/bridge/netfilter/Makefile