openwrt/target/linux
Markus Stockhausen c1111ed5d6 realtek: vlan: protect the entire VLAN MSTI update
rtldsa_vlan_msti_set() holds reg_mutex only while replacing the MST
slot. The VLAN table read and write remain unprotected, allowing
concurrent updates to overwrite VLAN data or leave the VLAN FID
inconsistent with MST slot bookkeeping.

Use scoped_guard() to hold reg_mutex across the VLAN table read,
MST slot replacement and VLAN table write. This also releases the
mutex automatically if the slot replacement fails.

Assisted-by: ChatGPT (OpenAI GPT-6 Astra)
Link: https://github.com/openwrt/openwrt/pull/25258
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
2026-09-19 17:58:33 +02:00
..
airoha
apm821xx
armsr
at91
ath79 ath79: convert qca9558_tplink_archer-c.dtsi to DSA 2026-09-18 09:04:08 +02:00
bcm27xx
bcm47xx
bcm53xx bcm53xx: enable GRO 2026-09-17 18:16:11 +02:00
bcm4908
bmips
d1
econet
gemini
generic generic: backport Quectel EG060W option driver support 2026-09-17 18:19:16 +02:00
imx
ipq40xx generic: 6.18: add CONFIG_QCOMTEE 2026-09-17 11:15:04 +02:00
ipq806x
ixp4xx
kirkwood
lantiq
layerscape
loongarch64
malta
mediatek mediatek: filogic: add support for Cudy P2 v1 2026-09-18 09:17:19 +02:00
microchipsw
mpc85xx mpc85xx: remove last 6.12 patch 2026-09-19 11:38:12 +02:00
mvebu
mxs
octeon
omap
pistachio
qoriq
qualcommax qualcommax: ipq8072: partial revert NVMEM MAC addresses for Linksys MX5300 2026-09-18 14:50:58 +02:00
qualcommbe generic: 6.18: add CONFIG_QCOMTEE 2026-09-17 11:15:04 +02:00
ramips ramips: mt7621: add support for Cudy LT700 Outdoor v1 2026-09-17 18:19:17 +02:00
realtek realtek: vlan: protect the entire VLAN MSTI update 2026-09-19 17:58:33 +02:00
rockchip
sifiveu
siflower
starfive
stm32
sunxi
tegra
uml uml: remove obsolete 6.12 kernel config and patches 2026-09-18 18:25:41 +02:00
x86
zynq
Makefile