]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: ethernet: mtk_eth_soc: fix tx vlan tag for llc packets
authorFelix Fietkau <nbd@nbd.name>
Sun, 31 Aug 2025 18:20:07 +0000 (20:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Sep 2025 16:56:23 +0000 (18:56 +0200)
commit61b80fbdc0726317f72f9074e10126e0eb0e49c5
tree0e32d9d9036ff70a576dd5be731d6367625d0cb0
parent5d7b2d45770e0d5e3dfa85c735abbf48315b4119
net: ethernet: mtk_eth_soc: fix tx vlan tag for llc packets

[ Upstream commit d4736737110ffa83d29f1c5d17b26113864205f6 ]

When sending llc packets with vlan tx offload, the hardware fails to
actually add the tag. Deal with this by fixing it up in software.

Fixes: 656e705243fd ("net-next: mediatek: add support for MT7623 ethernet")
Reported-by: Thibaut VARENE <hacks@slashdirt.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250831182007.51619-1-nbd@nbd.name
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/mediatek/mtk_eth_soc.c