summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-07-13 14:54:25 +0000
committermpi <mpi@openbsd.org>2017-07-13 14:54:25 +0000
commitb450e1df9a837c2058dea7c1c8ed31b7700799c7 (patch)
tree24dfa16f19891eff8196225bb408c38ce8da28ac /sys
parent* Clarify that filter rules are evaluated once per packet and interface, (diff)
downloadwireguard-openbsd-b450e1df9a837c2058dea7c1c8ed31b7700799c7.tar.xz
wireguard-openbsd-b450e1df9a837c2058dea7c1c8ed31b7700799c7.zip
Set the ipl of pipex pools to IPL_SOFTNET.
Fix floor splassert reported by mlarkin@ and Marko Cupać. ok dlg@, visa@, yasuoka@
Diffstat (limited to 'sys')
-rw-r--r--sys/net/pipex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/pipex.c b/sys/net/pipex.c
index 543d10f0cd3..10ee07029f3 100644
--- a/sys/net/pipex.c
+++ b/sys/net/pipex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pipex.c,v 1.102 2017/06/06 13:07:22 mpi Exp $ */
+/* $OpenBSD: pipex.c,v 1.103 2017/07/13 14:54:25 mpi Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -129,9 +129,9 @@ pipex_init(void)
rn_init(sizeof(struct sockaddr_in6));
pool_init(&pipex_session_pool, sizeof(struct pipex_session), 0,
- IPL_NONE, PR_WAITOK, "ppxss", NULL);
+ IPL_SOFTNET, PR_WAITOK, "ppxss", NULL);
pool_init(&mppe_key_pool, PIPEX_MPPE_KEYLEN * PIPEX_MPPE_NOLDKEY, 0,
- IPL_NONE, PR_WAITOK, "mppekey", NULL);
+ IPL_SOFTNET, PR_WAITOK, "mppekey", NULL);
LIST_INIT(&pipex_session_list);
LIST_INIT(&pipex_close_wait_list);