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)
commit26267bf9bb57d504c785d8659adc8e02b6629c95
tree1aff391d24412388d48b3c93dbccfb4dd4b3aacd
parent73f97025a972cd1506e8b1986264b2fb8833df7c
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