Message ID | 20220819092446.980320-3-bigeasy@linutronix.de |
---|---|
State | New |
Headers | show |
Series | Backports to fix random core | expand |
diff --git a/drivers/char/random.c b/drivers/char/random.c index 860dc427000e9..40c97d09aeadc 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -1002,7 +1002,7 @@ void add_interrupt_randomness(int irq) if (new_count & MIX_INFLIGHT) return; - if (new_count < 64 && !time_is_before_jiffies(fast_pool->last + HZ)) + if (new_count < 1024 && !time_is_before_jiffies(fast_pool->last + HZ)) return; if (unlikely(!fast_pool->mix.func))