]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: kconfig: remove ct zone/label dependencies
authorFlorian Westphal <fw@strlen.de>
Fri, 3 Aug 2018 15:56:12 +0000 (17:56 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 3 Aug 2018 19:15:12 +0000 (21:15 +0200)
commitbbe43b967db0155b8ff69a33c7e8f0d8671a417b
tree13a04523b8ca3ea29c1af01ffeb7a92727b6ae80
parentde30f6a0fa60c4ee0fe8968853f042f322ea37a8
netfilter: kconfig: remove ct zone/label dependencies

connection tracking zones currently depend on the xtables CT target.
The reasoning was that it makes no sense to support zones if they can't
be configured (which needed CT target).

Nowadays zones can also be used by OVS and configured via nftables,
so remove the dependency.

connection tracking labels are handled via hidden dependency that gets
auto-selected by the connlabel match.
Make it a visible knob, as labels can be attached via ctnetlink
or via nftables rules (nft_ct expression) too.

This allows to use conntrack labels and zones with nftables-only build.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/Kconfig