Module Name:    src
Committed By:   rmind
Date:           Sun Nov  1 21:08:32 UTC 2009

Modified Files:
        src/sys/dev: rnd.c

Log Message:
rnd_sample_allocate_isr: pass correct flag to pool_get().
Should fix PR/39325.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/dev/rnd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/rnd.c
diff -u src/sys/dev/rnd.c:1.76 src/sys/dev/rnd.c:1.77
--- src/sys/dev/rnd.c:1.76	Mon Sep 14 09:26:28 2009
+++ src/sys/dev/rnd.c	Sun Nov  1 21:08:32 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: rnd.c,v 1.76 2009/09/14 09:26:28 pooka Exp $	*/
+/*	$NetBSD: rnd.c,v 1.77 2009/11/01 21:08:32 rmind Exp $	*/
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rnd.c,v 1.76 2009/09/14 09:26:28 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rnd.c,v 1.77 2009/11/01 21:08:32 rmind Exp $");
 
 #include <sys/param.h>
 #include <sys/ioctl.h>
@@ -801,7 +801,7 @@
 {
 	rnd_sample_t *c;
 
-	c = pool_get(&rnd_mempool, 0);
+	c = pool_get(&rnd_mempool, PR_NOWAIT);
 	if (c == NULL)
 		return (NULL);
 

Reply via email to