netfilter: nf_flow_table: attach dst to skbs
authorJason A. Donenfeld <Jason@zx2c4.com>
Wed, 30 May 2018 18:43:15 +0000 (20:43 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 1 Jun 2018 07:47:36 +0000 (09:47 +0200)
commit2a79fd3908acd88e6cb0e620c314d7b1fee56a02
treeec9191bcd2226c9a3658f13c3e058c9da84c5227
parenta654de8fdc1815676ab750e70cab231fc814c29f
netfilter: nf_flow_table: attach dst to skbs

Some drivers, such as vxlan and wireguard, use the skb's dst in order to
determine things like PMTU. They therefore loose functionality when flow
offloading is enabled. So, we ensure the skb has it before xmit'ing it
in the offloading path.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_flow_table_ip.c