Re: [PATCH v7] ath9k: let sleep be interrupted when unregistering hwrng

From
Gregory Erwin <hidden>
Date
2022-06-29 03:42:00
Also in
lkml, stable
Reply to
Jason A. Donenfeld, 2022-06-28
Hmm, set_notify_signal() calls wake_up_state() in kernel/sched/core.c, which
is not currently exported. Only by including EXPORT_SYMBOL(wake_up_state) and
rebuilding vmlinux was I able to build rng-core.ko and load it successfully.

That said, this patch allows 'ip link set wlan0 down' to wake a blocked process
reading from /dev/hwrng, eliminating the delay as described. I'll give my
sign-off with the EXPORT_SYMBOL sorted out.
Thread (12 messages) 12 messages, 5 authors, last reply 2022-07-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help