diff --git a/sys/dev/random/random_harvestq.c b/sys/dev/random/random_harvestq.c --- a/sys/dev/random/random_harvestq.c +++ b/sys/dev/random/random_harvestq.c @@ -296,9 +296,11 @@ * There are reports that RDSEED on x86 metal falls * behind the rate at which we query it, for example. * But it's still a better entropy source than RDRAND. + * + * If it does, just wait till the next time we poll. */ if (n == 0) - continue; + break; random_harvest_direct(entropy, n, rrs->rrs_source->rs_source); } }