]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6bcf222fcdf52d27f1afab6bca73035f77e63e6b
treeec9191bcd2226c9a3658f13c3e058c9da84c5227
parentbcaff1410594f516e68ce8b6bd54b74ec35104a7
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