Author: jhb
Date: Thu Jan 13 17:02:39 2011
New Revision: 217361
URL: http://svn.freebsd.org/changeset/base/217361

Log:
  Use a blocking malloc() to initialize the dummynet taskq.
  
  Reviewed by:  luigi

Modified:
  head/sys/netinet/ipfw/ip_dummynet.c

Modified: head/sys/netinet/ipfw/ip_dummynet.c
==============================================================================
--- head/sys/netinet/ipfw/ip_dummynet.c Thu Jan 13 17:00:22 2011        
(r217360)
+++ head/sys/netinet/ipfw/ip_dummynet.c Thu Jan 13 17:02:39 2011        
(r217361)
@@ -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");
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to