openwrt/target/linux/realtek
Markus Stockhausen 21414937d1 realtek: dsa: rtl839x: fix uninitialized global access
Setup for DSA QOS on RTL839x accesses unitialized memory. For some
reason the handover of the priv structure was realized via global
intermediate variable switch_priv. During refactoring for adbb9a6
("realtek: dsa: rtl83xx: fix init section mismatch") this was not
noticed. Since then RTL839x devices crash during startup.

Fix this by using standard handover via function parameters.

Fixes: e81affb9 ("realtek: dsa: rtl83xx: fix init section mismatch")
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21703
Signed-off-by: Robert Marko <robimarko@gmail.com>

(cherry picked from commit ac96463944)
Link: https://github.com/openwrt/openwrt/pull/21900
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-02-08 21:25:29 +01:00
..
base-files realtek: rtl930x: Add support for Plasma Cloud MCX3 Media Converter 2025-11-07 21:12:58 +01:00
dts realtek: rtl838x: fix lan9 and lan10 on Netgear GS110TUP 2026-01-02 18:12:56 +01:00
files/firmware/rtl838x_phy
files-6.12 realtek: dsa: rtl839x: fix uninitialized global access 2026-02-08 21:25:29 +01:00
image realtek: Cleanup tab vs spaces for indentation 2025-11-23 22:26:10 +01:00
patches-6.12 kernel: bump 6.12 to 6.12.68 2026-02-03 23:26:21 +01:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: rtl930x: Disable L3 offloading 2025-10-21 21:59:28 +02:00
rtl839x realtek: rtl930x: Disable L3 offloading 2025-10-21 21:59:28 +02:00
rtl930x kernel: reorder configuration options 2026-01-26 23:59:37 +01:00
rtl930x_nand kernel: reorder configuration options 2026-01-26 23:59:37 +01:00
rtl931x realtek: rtl930x: Disable L3 offloading 2025-10-21 21:59:28 +02:00
rtl931x_nand realtek: rtl930x: Disable L3 offloading 2025-10-21 21:59:28 +02:00
Makefile realtek: add NAND targets for RTL93xx 2025-08-10 11:46:52 +02:00