netfilter: replace NF_NAT_NEEDED with IS_ENABLED(CONFIG_NF_NAT)
authorFlorian Westphal <fw@strlen.de>
Wed, 27 Mar 2019 08:22:26 +0000 (09:22 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 8 Apr 2019 21:02:52 +0000 (23:02 +0200)
commit4806e975729f99c7908d1688a143f1e16d464e6c
tree780cda767a1cb8fd0b32112f297b50b1a62b0308
parentc1deb065cf3b5bcd483e3f03479f930edb151b99
netfilter: replace NF_NAT_NEEDED with IS_ENABLED(CONFIG_NF_NAT)

NF_NAT_NEEDED is true whenever nat support for either ipv4 or ipv6 is
enabled.  Now that the af-specific nat configuration switches have been
removed, IS_ENABLED(CONFIG_NF_NAT) has the same effect.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter.h
include/net/netfilter/nf_conntrack_expect.h
net/netfilter/Kconfig
net/netfilter/nf_conntrack_expect.c
net/netfilter/nf_conntrack_netlink.c
net/netfilter/nf_conntrack_sip.c
net/openvswitch/conntrack.c