netfilter: don't attach a nat extension by default
authorFlorian Westphal <fw@strlen.de>
Thu, 20 Apr 2017 08:11:35 +0000 (10:11 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 26 Apr 2017 07:30:22 +0000 (09:30 +0200)
commit9a08ecfe74d7796ddc92ec312d3b7eaeba5a7c22
tree2a9fa3c6cb2122050ee531d019d7c9fde52bd28a
parent2fe7c321ab54d391dffb98911f5fb5cd315d6526
netfilter: don't attach a nat extension by default

nowadays the NAT extension only stores the interface index
(used to purge connections that got masqueraded when interface goes down)
and pptp nat information.

Previous patches moved nf_ct_nat_ext_add to those places that need it.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_nat.h
net/ipv4/netfilter/nf_nat_l3proto_ipv4.c
net/ipv6/netfilter/nf_nat_l3proto_ipv6.c
net/netfilter/nf_nat_core.c