Re: [PATCH nf-next] netfilter: ipvs: don't check for presence of nat extension

2017-03-30 Thread Simon Horman
On Tue, Mar 28, 2017 at 10:31:20AM +0200, Florian Westphal wrote: > 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

[PATCH nf-next] netfilter: ipvs: don't check for presence of nat extension

2017-03-28 Thread Florian Westphal
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 --- net/netfilter/ipvs/ip_vs_ftp.c | 2 +- 1 file changed, 1