]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
netfilter: flowtable: use skb_pull_rcsum() to pop vlan/pppoe header
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 30 Apr 2026 19:55:01 +0000 (21:55 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 1 May 2026 10:39:23 +0000 (12:39 +0200)
commitbaa3c65435fb3f450b262672bc06db887a92d397
tree233b989a160634e4ed11b573c06a77a8d3aeff8c
parent69c54f80f4a7072b51b5b5939185ca5e572be982
netfilter: flowtable: use skb_pull_rcsum() to pop vlan/pppoe header

This adjusts the checksum, if required, after pulling the layer 2
header, either the pppoe header or the inner vlan header in the
double-tagged vlan packets.

Fixes: 4cd91f7c290f ("netfilter: flowtable: add vlan support")
Fixes: 72efd585f714 ("netfilter: flowtable: add pppoe support")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_flow_table_ip.c