summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2016-08-30 23:30:38 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2016-08-30 23:30:38 +0000
commit2422c38fcb38f3544567eea9a84a9991a83e7b78 (patch)
tree420bac551ebd1ba2f3249eb6531a91c6b14c8b57 /sys
parent1ebceefa60a3ec0b67e31b8accdb15ab61aa17a4 (diff)
pool_setipl
ok markus@
Diffstat (limited to 'sys')
-rw-r--r--sys/net/pfkeyv2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/pfkeyv2.c b/sys/net/pfkeyv2.c
index ef6a6685136..dcf70c22997 100644
--- a/sys/net/pfkeyv2.c
+++ b/sys/net/pfkeyv2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkeyv2.c,v 1.146 2015/12/09 21:41:50 naddy Exp $ */
+/* $OpenBSD: pfkeyv2.c,v 1.147 2016/08/30 23:30:37 dlg Exp $ */
/*
* @(#)COPYRIGHT 1.1 (NRL) 17 January 1995
@@ -1519,6 +1519,7 @@ pfkeyv2_send(struct socket *socket, void *message, int len)
pool_init(&ipsec_policy_pool,
sizeof(struct ipsec_policy), 0, 0, 0,
"ipsec policy", NULL);
+ pool_setipl(&ipsec_policy_pool, IPL_NONE);
}
/* Allocate policy entry */