diff options
| author | Eric Woudstra <ericwouds@gmail.com> | 2026-03-10 17:39:33 +0300 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2026-03-13 17:31:15 +0300 |
| commit | a3aca98aec9a278ee56da4f8013bfa1dd1a1c298 (patch) | |
| tree | 9a0ee02e1e0381f9d4e8c536706555275e8ac8c5 /include | |
| parent | 598adea720b97572c7028635cb1c59b3684e128c (diff) | |
| download | linux-a3aca98aec9a278ee56da4f8013bfa1dd1a1c298.tar.xz | |
netfilter: nf_flow_table_ip: reset mac header before vlan push
With double vlan tagged packets in the fastpath, getting the error:
skb_vlan_push got skb with skb->data not at mac header (offset 18)
Call skb_reset_mac_header() before calling skb_vlan_push().
Fixes: c653d5a78f34 ("netfilter: flowtable: inline vlan encapsulation in xmit path")
Signed-off-by: Eric Woudstra <ericwouds@gmail.com>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
