mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 10:01:43 +00:00
69ef9bc547
On module unload/remove, we need to ensure that work does not run after we have freed resources. Concretely, cancel_delayed_work() may return while the callback function is still running. From kernel/workqueue.c: The work callback function may still be running on return, unless it returns true and the work doesn't re-arm itself. Explicitly flush or use cancel_delayed_work_sync() to wait on it. Link: https://lore.kernel.org/lkml/20190204220952.30761-1-TheSven73@googlemail.com/ Reported-by: Sven Van Asbroeck <thesven73@gmail.com> Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Reviewed-by: Sven Van Asbroeck <TheSven73@gmail.com> Acked-by: Robin van der Gracht <robin@protonic.nl> Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> |
||
---|---|---|
.. | ||
arm-charlcd.c | ||
cfag12864b.c | ||
cfag12864bfb.c | ||
charlcd.c | ||
hd44780.c | ||
ht16k33.c | ||
img-ascii-lcd.c | ||
Kconfig | ||
ks0108.c | ||
Makefile | ||
panel.c |