diff options
author | 2010-09-28 01:44:57 +0000 | |
---|---|---|
committer | 2010-09-28 01:44:57 +0000 | |
commit | dea442944e706e6de18babcb84f7ecff94a6fe99 (patch) | |
tree | 5e87ca769c8606ffb2f8ca66aaccab65a71468d7 | |
parent | must have either PR_WAITOK or PR_NOWAIT set. (diff) | |
download | wireguard-openbsd-dea442944e706e6de18babcb84f7ecff94a6fe99.tar.xz wireguard-openbsd-dea442944e706e6de18babcb84f7ecff94a6fe99.zip |
missing PR_NOWAIT
-rw-r--r-- | sys/netinet/ip_spd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_spd.c b/sys/netinet/ip_spd.c index 6d4a8572454..86e12a0d5bc 100644 --- a/sys/netinet/ip_spd.c +++ b/sys/netinet/ip_spd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_spd.c,v 1.62 2010/07/09 16:58:06 reyk Exp $ */ +/* $OpenBSD: ip_spd.c,v 1.63 2010/09/28 01:44:57 deraadt Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu) * @@ -781,7 +781,7 @@ ipsp_acquire_sa(struct ipsec_policy *ipo, union sockaddr_union *gw, 0, 0, 0, "ipsec acquire", NULL); } - ipa = pool_get(&ipsec_acquire_pool, PR_ZERO); + ipa = pool_get(&ipsec_acquire_pool, PR_NOWAIT|PR_ZERO); if (ipa == NULL) return ENOMEM; |