diff options
author | 2008-06-11 18:20:54 +0000 | |
---|---|---|
committer | 2008-06-11 18:20:54 +0000 | |
commit | 7a7e85513aa8b9a486e19d302a0b26be47d389f3 (patch) | |
tree | 283f6c07ed520138abf702480d482d2cf4e175bd | |
parent | when we establish the mapping from a state key, do it both ways, aka (diff) | |
download | wireguard-openbsd-7a7e85513aa8b9a486e19d302a0b26be47d389f3.tar.xz wireguard-openbsd-7a7e85513aa8b9a486e19d302a0b26be47d389f3.zip |
0 -> PR_NOWAIT (which is defined as 0) in pool_get
as an aid to readability
ok and thinko-catching henning@
-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 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; |