]> git.baikalelectronics.ru Git - kernel.git/commit
random: crng_reseed() should lock the crng instance that it is modifying
authorTheodore Ts'o <tytso@mit.edu>
Thu, 12 Apr 2018 04:50:45 +0000 (00:50 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 14 Apr 2018 15:59:31 +0000 (11:59 -0400)
commit5ef94ebdacf007a981a022c393e24c57d141fd8a
tree8fe433e610984789e2ffe10d0ba68fc3694afeef
parent80048fd7345e4355facca55690095b40209f567c
random: crng_reseed() should lock the crng instance that it is modifying

Reported-by: Jann Horn <jannh@google.com>
Fixes: e1b316c90397 ("random: make /dev/urandom scalable for silly...")
Cc: stable@kernel.org # 4.8+
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jann Horn <jannh@google.com>
drivers/char/random.c