Date: Thu, 13 Jan 2011 17:02:39 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r217361 - head/sys/netinet/ipfw Message-ID: <201101131702.p0DH2drZ057373@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101131702.p0DH2drZ057373>