openwrt/target/linux/realtek
Issam Hamdi feec7cf34d
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Waiting to run
realtek: dsa: rtl83xx: flush scheduled work on removal
The workqueue items don't need to be processed directly when they are
scheduled. It can happen that they are simply processed at a much later
time. It is therefore necessary to ensure that all workqueue items of a
driver are no longer being processed before the driver (or structures of
this driver) are destroyed.

When skipping this step, the driver driver can cause a kernel Oops on
reboot.

Unfortunately, it is not recommended [1] to flush items out of the system
workqueue - simply because this can cause deadlocks. The driver itself must
have a private workqueue which is then flushed.

[1] https://lkml.kernel.org/r/49925af7-78a8-a3dd-bce6-cfc02e1a9236@I-love.SAKURA.ne.jp

Signed-off-by: Issam Hamdi <ih@simonwunderlich.de>
Signed-off-by: Harshal Gohel <hg@simonwunderlich.de>
Signed-off-by: Sharadanand Karanjkar <sk@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/19570
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-08-07 17:29:14 +02:00
..
base-files realtek: add support for TP-Link TL-ST1008F v2.0 2025-06-16 13:30:52 +02:00
dts realtek: use consistent definition in DTS for SFP(+) ports 2025-08-07 13:47:27 +02:00
files/firmware/rtl838x_phy
files-6.12 realtek: dsa: rtl83xx: flush scheduled work on removal 2025-08-07 17:29:14 +02:00
image realtek: rtl930x: convert Hasivo S1100W to lzma only. 2025-08-06 15:22:52 +02:00
patches-6.12 realtek: backport NAND driver for RTL93xx 2025-07-30 23:22:24 +02:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: backport NAND driver for RTL93xx 2025-07-30 23:22:24 +02:00
rtl839x realtek: backport NAND driver for RTL93xx 2025-07-30 23:22:24 +02:00
rtl930x realtek: rtl930x: enable SMP 2025-08-04 16:01:49 +02:00
rtl931x realtek: backport NAND driver for RTL93xx 2025-07-30 23:22:24 +02:00
Makefile realtek: switch to 6.12 as default 2025-06-22 16:38:11 +02:00