Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111515127
D38897.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
545 B
Referenced Files
None
Subscribers
None
D38897.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D38897: stop looping if it fails, we'll try again in 100ms..
Attached
Detach File
Event Timeline
Log In to Comment