aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/random/yarrow.c
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2000-07-11 19:37:25 +0000
committerMark Murray <markm@FreeBSD.org>2000-07-11 19:37:25 +0000
commit4d0e6f79d62c5a8b2edf7fe8bc807c6651c13dcd (patch)
treec0ee4b80e31162e0c1fc977982722a910754422e /sys/dev/random/yarrow.c
parentd4c1816924d21f56a39167f7437d64064367a32f (diff)
Notes
Diffstat (limited to 'sys/dev/random/yarrow.c')
-rw-r--r--sys/dev/random/yarrow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/random/yarrow.c b/sys/dev/random/yarrow.c
index 99453f6a3e91c..c6ae4481a0ebd 100644
--- a/sys/dev/random/yarrow.c
+++ b/sys/dev/random/yarrow.c
@@ -320,8 +320,8 @@ random_harvest_internal(struct timespec *nanotime, u_int64_t entropy,
#endif
if (origin < ENTROPYSOURCE) {
- /* The reseed task must not be jumped on */
- mask = splsofttq();
+ /* Called inside irq handlers; protect from interference */
+ mask = splhigh();
which = random_state.which;
pool = &random_state.pool[which];