summaryrefslogtreecommitdiff
path: root/net/dsa/tag.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2024-08-27 14:09:45 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2024-08-27 14:09:45 +0200
commit4461e9e5c374f8c11fee8e4a0e3290b072cfd538 (patch)
tree3bb5c91e53e98e6b80020e63d2d3ec14f94c0533 /net/dsa/tag.c
parent3f53d7e442197b7e7d56b470b02dfd37a8bc5c46 (diff)
parent5be63fc19fcaa4c236b307420483578a56986a37 (diff)
Merge v6.11-rc5 into drm-next
amdgpu pr conconflicts due to patches cherry-picked to -fixes, I might as well catch up with a backmerge and handle them all. Plus both misc and intel maintainers asked for a backmerge anyway. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'net/dsa/tag.c')
-rw-r--r--net/dsa/tag.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/dsa/tag.c b/net/dsa/tag.c
index 6e402d49afd3..79ad105902d9 100644
--- a/net/dsa/tag.c
+++ b/net/dsa/tag.c
@@ -105,8 +105,9 @@ static int dsa_switch_rcv(struct sk_buff *skb, struct net_device *dev,
p = netdev_priv(skb->dev);
- if (unlikely(cpu_dp->ds->untag_bridge_pvid)) {
- nskb = dsa_untag_bridge_pvid(skb);
+ if (unlikely(cpu_dp->ds->untag_bridge_pvid ||
+ cpu_dp->ds->untag_vlan_aware_bridge_pvid)) {
+ nskb = dsa_software_vlan_untag(skb);
if (!nskb) {
kfree_skb(skb);
return 0;