]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_flow_offload: fix offload with pppoe + vlan
authorFelix Fietkau <nbd@nbd.name>
Mon, 9 May 2022 12:26:16 +0000 (14:26 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 16 May 2022 10:58:55 +0000 (12:58 +0200)
commit45f5c59f497b30e62c0b34e15f2188cdb066474b
treecd72b51c967df404ae7711b25d5a111e268ca017
parentc00dcd670adcd5a3051a55eb175887cb8e8fd207
netfilter: nft_flow_offload: fix offload with pppoe + vlan

When running a combination of PPPoE on top of a VLAN, we need to set
info->outdev to the PPPoE device, otherwise PPPoE encap is skipped
during software offload.

Fixes: 83061518236c ("netfilter: flowtable: add pppoe support")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_flow_offload.c