summaryrefslogtreecommitdiff
path: root/sys/net/pipex.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-07-13 14:54:26 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-07-13 14:54:26 +0000
commit601d555689559241044fd3d8a85dc3e4d3d35e49 (patch)
treee006c560bf6c04931268dd87a7cf868b4fa1fc1f /sys/net/pipex.c
parent6bef3927df8071778aac5e8296e84626b8bec3a8 (diff)
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/net/pipex.c')
-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);