mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Use kthread_exit() to terminate a taskqueue thread rather than kproc_exit()
now that the taskqueue threads are kthreads rather than kprocs. Reported by: kris
This commit is contained in:
parent
9cb3ef6efe
commit
03c7442d75
1 changed files with 1 additions and 1 deletions
|
|
@ -408,7 +408,7 @@ taskqueue_thread_loop(void *arg)
|
|||
tq->tq_tcount--;
|
||||
wakeup_one(tq->tq_threads);
|
||||
TQ_UNLOCK(tq);
|
||||
kproc_exit(0);
|
||||
kthread_exit();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in a new issue