]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: flowtable: bridge vlan hardware offload and switchdev
authorFelix Fietkau <nbd@nbd.name>
Wed, 24 Mar 2021 01:30:48 +0000 (02:30 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Mar 2021 19:48:39 +0000 (12:48 -0700)
commitd6ed94275f42a3ea70551372e0023ac1dc91ad09
tree1aff391d24412388d48b3c93dbccfb4dd4b3aacd
parent8cf0695f66ce12d9150c89a0eadb1b45366d4472
netfilter: flowtable: bridge vlan hardware offload and switchdev

The switch might have already added the VLAN tag through PVID hardware
offload. Keep this extra VLAN in the flowtable but skip it on egress.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
include/net/netfilter/nf_flow_table.h
net/bridge/br_device.c
net/bridge/br_vlan.c
net/netfilter/nf_flow_table_core.c
net/netfilter/nf_flow_table_offload.c
net/netfilter/nft_flow_offload.c