diff options
author | jhb <jhb@FreeBSD.org> | 2011-01-13 17:02:39 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2011-01-13 17:02:39 +0000 |
commit | 9e010db002f86b70353ca15a18de1339400d47c0 (patch) | |
tree | a7ac33615742b904c0f1cefbd62a35b314812b7c | |
parent | cfd16f712573032be1fa07106485eb0667fa7411 (diff) | |
download | FreeBSD-src-9e010db002f86b70353ca15a18de1339400d47c0.zip FreeBSD-src-9e010db002f86b70353ca15a18de1339400d47c0.tar.gz |
Use a blocking malloc() to initialize the dummynet taskq.
Reviewed by: luigi
-rw-r--r-- | sys/netinet/ipfw/ip_dummynet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ipfw/ip_dummynet.c b/sys/netinet/ipfw/ip_dummynet.c index a9c140b..8b6198a 100644 --- a/sys/netinet/ipfw/ip_dummynet.c +++ b/sys/netinet/ipfw/ip_dummynet.c @@ -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"); |