diff --git a/drivers/char/random.c b/drivers/char/random.c index 9add8f4ace03ed8523da851cc765804ee4bcbe0a..d6a96e82cf9ec12c7e87b8053b7f6ffa640b7003 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -1306,7 +1306,8 @@ void add_interrupt_randomness(int irq, int irq_flags) } if ((fast_pool->count < 64) && - !time_after(now, fast_pool->last + HZ)) + !time_after(now, fast_pool->last + HZ) && + crng_ready()) return; if (!seed_inited) {