diff options
-rw-r--r-- | sys/net/pfkeyv2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pfkeyv2.c b/sys/net/pfkeyv2.c index 19568d3be13..9827f5d9409 100644 --- a/sys/net/pfkeyv2.c +++ b/sys/net/pfkeyv2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfkeyv2.c,v 1.121 2010/07/09 16:58:06 reyk Exp $ */ +/* $OpenBSD: pfkeyv2.c,v 1.122 2010/09/27 17:28:34 deraadt Exp $ */ /* * @(#)COPYRIGHT 1.1 (NRL) 17 January 1995 @@ -1616,7 +1616,7 @@ pfkeyv2_send(struct socket *socket, void *message, int len) } /* Allocate policy entry */ - ipo = pool_get(&ipsec_policy_pool, 0); + ipo = pool_get(&ipsec_policy_pool, PR_NOWAIT); if (ipo == NULL) { splx(s); rval = ENOMEM; |