Page MenuHomeFreeBSD

D38897.diff
No OneTemporary

D38897.diff

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);
}
}

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 5, 5:21 PM (20 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16997744
Default Alt Text
D38897.diff (545 B)

Event Timeline