1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux/realtek
Markus Stockhausen ac96463944 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: adbb9a6 ("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>
2026-01-26 09:58:13 +01:00
..
base-files realtek/rtl839x: Edgecore ECS4100-12PH support 2026-01-09 21:03:41 +02:00
dts realtek: mdio: derive phy smi-bus from parent node 2026-01-21 23:32:54 +01:00
files/firmware/rtl838x_phy realtek: phy: drop external RTL8218B firmware blob 2026-01-25 22:16:56 +01:00
files-6.12 realtek: dsa: rtl839x: fix uninitialized global access 2026-01-26 09:58:13 +01:00
image realtek: image: switch cameo devices from gzip to lzma 2026-01-18 11:15:10 +01:00
patches-6.12 kernel: bump 6.12 to 6.12.66 2026-01-20 01:15:32 +01:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: phy: drop external RTL8218B firmware blob 2026-01-25 22:16:56 +01:00
rtl839x kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
rtl930x kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
rtl930x_nand kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
rtl931x kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
rtl931x_nand kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
Makefile realtek: add NAND targets for RTL93xx 2025-08-10 11:46:52 +02:00