Use a blocking malloc() to initialize the dummynet taskq.
Reviewed by: luigi
This commit is contained in:
parent
cfd16f7125
commit
9e010db002
@ -2157,7 +2157,7 @@ ip_dn_init(void)
|
||||
DN_LOCK_INIT();
|
||||
|
||||
TASK_INIT(&dn_task, 0, dummynet_task, curvnet);
|
||||
dn_tq = taskqueue_create("dummynet", M_NOWAIT,
|
||||
dn_tq = taskqueue_create("dummynet", M_WAITOK,
|
||||
taskqueue_thread_enqueue, &dn_tq);
|
||||
taskqueue_start_threads(&dn_tq, 1, PI_NET, "dummynet");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user