Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/dev pull up a patch to correctly protect the critic...



details:   https://anonhg.NetBSD.org/src/rev/82a0ae911f65
branches:  netbsd-1-4
changeset: 469212:82a0ae911f65
user:      cgd <cgd%NetBSD.org@localhost>
date:      Sun Aug 08 07:04:16 1999 +0000

description:
pull up a patch to correctly protect the critical section in
rnd_extract_data().  This is branch-specific because the -current
solution is too complex to reasonably pull up.  (ross)

diffstat:

 sys/dev/rnd.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 96f4224747b2 -r 82a0ae911f65 sys/dev/rnd.c
--- a/sys/dev/rnd.c     Sun Aug 08 07:00:04 1999 +0000
+++ b/sys/dev/rnd.c     Sun Aug 08 07:04:16 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rnd.c,v 1.15.2.1 1999/06/24 16:15:59 perry Exp $       */
+/*     $NetBSD: rnd.c,v 1.15.2.2 1999/08/08 07:04:16 cgd Exp $ */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -935,7 +935,7 @@
        int s;
        int retval;
 
-       s = splsoftclock();
+       s = splsoftnet();
 
 #if RND_USE_EXTRACT_TIME
        rndpool_add_uint32(&rnd_pool, rnd_timestamp(), 0);



Home | Main Index | Thread Index | Old Index