summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2008-06-11 18:20:55 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2008-06-11 18:20:55 +0000
commitd4aa7b0d42217bd71d39e0188cb451fcd0c55f72 (patch)
treee5296513e1080cfc0162a01b04cede0d8ff4921d /sys/netinet
parent19e226c7adfa043673d679b06d0c40f7a03ae1c3 (diff)
0 -> PR_NOWAIT (which is defined as 0) in pool_get
as an aid to readability ok and thinko-catching henning@
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_spd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_spd.c b/sys/netinet/ip_spd.c
index 53870eb5ce4..0c18fc307d3 100644
--- a/sys/netinet/ip_spd.c
+++ b/sys/netinet/ip_spd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_spd.c,v 1.55 2008/05/09 15:48:59 claudio Exp $ */
+/* $OpenBSD: ip_spd.c,v 1.56 2008/06/11 18:20:54 blambert Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
*
@@ -621,7 +621,7 @@ ipsec_add_policy(struct inpcb *inp, int af, int direction)
0, 0, 0, "ipsec policy", NULL);
}
- ipon = pool_get(&ipsec_policy_pool, 0);
+ ipon = pool_get(&ipsec_policy_pool, PR_NOWAIT);
if (ipon == NULL)
return NULL;