netfilter: nf_flow_table: fix offloading connections with SNAT+DNAT
authorFelix Fietkau <nbd@nbd.name>
Fri, 23 Mar 2018 18:15:38 +0000 (19:15 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 24 Apr 2018 08:29:07 +0000 (10:29 +0200)
commitdf1e202531235f82a98e5b6c377a93a1e7d45673
tree00fc30d07087652cd134cc5386879088fe0c7c00
parent33894c367dbd5bd3ec5b26c643ca022798226dd9
netfilter: nf_flow_table: fix offloading connections with SNAT+DNAT

Pass all NAT types to the flow offload struct, otherwise parts of the
address/port pair do not get translated properly, causing connection
stalls

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_flow_table_core.c