diff --git a/drivers/char/random.c b/drivers/char/random.c index c75b6cdf00533ac82ec6fb957bc1669f1f44a34d..21074e799f0b7d1d51e28de1785c4023380fc09b 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -1796,6 +1796,8 @@ static void init_std_data(struct entropy_store *r) if (!arch_get_random_seed_long(&rv) && !arch_get_random_long(&rv)) rv = random_get_entropy(); + else + credit_entropy_bits(r, 1); mix_pool_bytes(r, &rv, sizeof(rv)); } mix_pool_bytes(r, utsname(), sizeof(*(utsname())));