Page MenuHomeFreeBSD

D16872.diff
No OneTemporary

D16872.diff

Index: head/sys/dev/random/fortuna.c
===================================================================
--- head/sys/dev/random/fortuna.c
+++ head/sys/dev/random/fortuna.c
@@ -371,7 +371,7 @@
if (fortuna_state.fs_pool[0].fsp_length >= fortuna_state.fs_minpoolsize
#ifdef _KERNEL
/* FS&K - Use 'getsbinuptime()' to prevent reseed-spamming. */
- && (now - fortuna_state.fs_lasttime > hz/10)
+ && (now - fortuna_state.fs_lasttime > SBT_1S/10)
#endif
) {
#ifdef _KERNEL

File Metadata

Mime Type
text/plain
Expires
Sun, Sep 13, 6:28 AM (1 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38837899
Default Alt Text
D16872.diff (488 B)

Event Timeline