]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: flowtable: reload ip{v6}h in nf_flow_tuple_ip{v6}
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>
Tue, 17 Mar 2020 02:02:53 +0000 (10:02 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 19 Mar 2020 20:05:05 +0000 (21:05 +0100)
commit11cb36a31fca9429c90a0028b6f9d575150a9a79
treea067de72a1a4be3a2c0313dc3b1dfa6c11ab4210
parentb5a3e49e436e9930f9c7137e75967e02eb6451cd
netfilter: flowtable: reload ip{v6}h in nf_flow_tuple_ip{v6}

Since pskb_may_pull may change skb->data, so we need to reload ip{v6}h at
the right place.

Fixes: 04577f6c9fdb ("netfilter: nf_flow_table: move ipv6 offload hook code to nf_flow_table")
Fixes: 22beb10e0b52 ("netfilter: nf_flow_table: move ipv4 offload hook code to nf_flow_table")
Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_flow_table_ip.c