diff options
author | 2016-08-30 23:30:37 +0000 | |
---|---|---|
committer | 2016-08-30 23:30:37 +0000 | |
commit | 00d54ea417e0833c7be7eb6bd32f1c0909564d92 (patch) | |
tree | f4401f10ccaa0b1463ace4902577b1b2d320d952 /sys | |
parent | pool_setipl (diff) | |
download | wireguard-openbsd-00d54ea417e0833c7be7eb6bd32f1c0909564d92.tar.xz wireguard-openbsd-00d54ea417e0833c7be7eb6bd32f1c0909564d92.zip |
pool_setipl
ok markus@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/pfkeyv2.c | 3 |
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 */ |