]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: ipvs: don't check for presence of nat extension
authorFlorian Westphal <fw@strlen.de>
Tue, 28 Mar 2017 08:31:20 +0000 (10:31 +0200)
committerSimon Horman <horms@verge.net.au>
Thu, 30 Mar 2017 12:41:42 +0000 (14:41 +0200)
commit8fc5e7c962513d882727eebbcc95f336c616bc0e
tree360154b271294bcd98ab4055620c01e0b52109a5
parentc1b6eec07da56e311e8a333aa773563f28fe2859
netfilter: ipvs: don't check for presence of nat extension

Check for the NAT status bits, they are set once conntrack needs NAT in source or
reply direction, this is slightly faster than nfct_nat() as that has to check the
extension area.

Signed-off-by: Florian Westphal <fw@strlen.de>
net/netfilter/ipvs/ip_vs_ftp.c