From 01f6ce3a709610f8c57c9378b536a4f2a77f10ed Mon Sep 17 00:00:00 2001 From: jeff Date: Tue, 5 Apr 2005 08:51:45 +0000 Subject: [PATCH] - Use taskqueue_thread rather than taskqueue_swi since our task is going to vrele, which may vop lock. This is not safe in a software interrupt context. --- sys/kern/kern_jail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/kern_jail.c b/sys/kern/kern_jail.c index 7e78e83f863e..e125622cbb5d 100644 --- a/sys/kern/kern_jail.c +++ b/sys/kern/kern_jail.c @@ -283,7 +283,7 @@ prison_free(struct prison *pr) mtx_unlock(&allprison_mtx); TASK_INIT(&pr->pr_task, 0, prison_complete, pr); - taskqueue_enqueue(taskqueue_swi, &pr->pr_task); + taskqueue_enqueue(taskqueue_thread, &pr->pr_task); return; } mtx_unlock(&pr->pr_mtx);