]> 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)
commit02540ee6c9d29bfee17b9f8c04bc9931727782ad
treed606e36cf1ad7fc39da0a980db7d718f3730b875
parent6b992eedee69ef67e1e05b83fc2b522d88c2db73
random: fix soft lockup when trying to read from an uninitialized blocking pool

Fixes: 6b6cc7ad5900: "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