From 589c0ca2172af8d6ca22cdb0ef94dce50b4e46b1 Mon Sep 17 00:00:00 2001 From: dlg Date: Tue, 30 Aug 2016 23:29:04 +0000 Subject: [PATCH] pool_setipl ok yasuoka@ --- sys/net/pipex.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sys/net/pipex.c b/sys/net/pipex.c index e658dc5121d..53cc38d983a 100644 --- a/sys/net/pipex.c +++ b/sys/net/pipex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pipex.c,v 1.87 2016/03/22 23:53:01 dlg Exp $ */ +/* $OpenBSD: pipex.c,v 1.88 2016/08/30 23:29:04 dlg Exp $ */ /*- * Copyright (c) 2009 Internet Initiative Japan Inc. @@ -131,10 +131,12 @@ pipex_init(void) rn_init(sizeof(struct sockaddr_in6)); - pool_init(&pipex_session_pool, sizeof(struct pipex_session), 0, 0, 0, - "ppxss", NULL); + pool_init(&pipex_session_pool, sizeof(struct pipex_session), 0, 0, + PR_WAITOK, "ppxss", NULL); + pool_setipl(&pipex_session_pool, IPL_NONE); pool_init(&mppe_key_pool, PIPEX_MPPE_KEYLEN * PIPEX_MPPE_NOLDKEY, 0, 0, - 0, "mppekey", NULL); + PR_WAITOK, "mppekey", NULL); + pool_setipl(&mppe_key_pool, IPL_NONE); LIST_INIT(&pipex_session_list); LIST_INIT(&pipex_close_wait_list); -- 2.20.1