summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_spd.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2016-09-06 00:04:16 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2016-09-06 00:04:16 +0000
commit1bfbb1341f4733af2fc04e15e80077f779744a4b (patch)
tree7012cfaeb45f30e6889051122fe05c59026ac1e7 /sys/netinet/ip_spd.c
parent6a67f8a92e71626adf0b0663f80235a0024a19e3 (diff)
pool_setipl for various netinet and netinet6 bits
thank you to everyone who helped reviewed these diffs ok mpi@
Diffstat (limited to 'sys/netinet/ip_spd.c')
-rw-r--r--sys/netinet/ip_spd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_spd.c b/sys/netinet/ip_spd.c
index 60ac0b2a332..33ff65c109b 100644
--- a/sys/netinet/ip_spd.c
+++ b/sys/netinet/ip_spd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_spd.c,v 1.88 2015/10/07 10:50:35 mpi Exp $ */
+/* $OpenBSD: ip_spd.c,v 1.89 2016/09/06 00:04:15 dlg Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
*
@@ -670,6 +670,7 @@ ipsp_acquire_sa(struct ipsec_policy *ipo, union sockaddr_union *gw,
ipsec_acquire_pool_initialized = 1;
pool_init(&ipsec_acquire_pool, sizeof(struct ipsec_acquire),
0, 0, 0, "ipsec acquire", NULL);
+ pool_setipl(&ipsec_acquire_pool, IPL_SOFTNET);
}
ipa = pool_get(&ipsec_acquire_pool, PR_NOWAIT|PR_ZERO);