random: crng_reseed() should lock the crng instance that it is modifying
Reported-by: NJann Horn <jannh@google.com> Fixes: 1e7f583a ("random: make /dev/urandom scalable for silly...") Cc: stable@kernel.org # 4.8+ Signed-off-by: NTheodore Ts'o <tytso@mit.edu> Reviewed-by: NJann Horn <jannh@google.com>
Showing
想要评论请 注册 或 登录