]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commit41390895e50bc4f28abe384c6b35ac27464a20ec
tree360154b271294bcd98ab4055620c01e0b52109a5
parent592d42ac7fd36408979e09bf2f170f2595dab7b8
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