Skip to content
Commit 017b355b authored by Mans Rullgard's avatar Mans Rullgard Committed by Jakub Kicinski
Browse files

net: dsa: lan9303: handle hwaccel VLAN tags



Check for a hwaccel VLAN tag on rx and use it if present.  Otherwise,
use __skb_vlan_pop() like the other tag parsers do.  This fixes the case
where the VLAN tag has already been consumed by the master.

Fixes: a1292595 ("net: dsa: add new DSA switch driver for the SMSC-LAN9303")
Signed-off-by: default avatarMans Rullgard <mans@mansr.com>
Reviewed-by: default avatarVladimir Oltean <olteanv@gmail.com>
Link: https://lore.kernel.org/r/20220216124634.23123-1-mans@mansr.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent b9208492
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment