]> git.baikalelectronics.ru Git - kernel.git/commit
random: fix soft lockup when trying to read from an uninitialized blocking pool
authorTheodore Ts'o <tytso@mit.edu>
Wed, 22 May 2019 16:02:16 +0000 (12:02 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 26 May 2019 04:11:49 +0000 (00:11 -0400)
commitb9b95af1ddb2138c5624235d70b6b95c31d5f4db
treed606e36cf1ad7fc39da0a980db7d718f3730b875
parente8e5639d5d0fa4c608e3e6c20c600a1462c6cfb8
random: fix soft lockup when trying to read from an uninitialized blocking pool

Fixes: 4d63151437aa: "random: only read from /dev/random after its pool has received 128 bits"
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
drivers/char/random.c