Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1d9de44e authored by Herbert Xu's avatar Herbert Xu
Browse files

random: Wake up all getrandom(2) callers when pool is ready



If more than one application invokes getrandom(2) before the pool
is ready, then all bar one will be stuck forever because we use
wake_up_interruptible which wakes up a single task.

This patch replaces it with wake_up_all.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 374d4ad1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment