]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8e64f47bb3b2ae242a3abeb88ab3289e01f3cdfe
tree00fc30d07087652cd134cc5386879088fe0c7c00
parent08d90a45895bc37901188b75e303181e68936932
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