Date: Fri, 18 Oct 2013 11:26:40 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r256730 - head/sys/kern Message-ID: <201310181126.r9IBQeU5001973@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Fri Oct 18 11:26:40 2013 New Revision: 256730 URL: http://svnweb.freebsd.org/changeset/base/256730 Log: Revert r256587. Requested by: zec Modified: head/sys/kern/subr_taskqueue.c Modified: head/sys/kern/subr_taskqueue.c ============================================================================== --- head/sys/kern/subr_taskqueue.c Fri Oct 18 11:25:08 2013 (r256729) +++ head/sys/kern/subr_taskqueue.c Fri Oct 18 11:26:40 2013 (r256730) @@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$"); #include <sys/taskqueue.h> #include <sys/unistd.h> #include <machine/stdarg.h> -#include <net/vnet.h> static MALLOC_DEFINE(M_TASKQUEUE, "taskqueue", "Task Queues"); static void *taskqueue_giant_ih; @@ -340,9 +339,7 @@ taskqueue_run_locked(struct taskqueue *q tb.tb_running = task; TQ_UNLOCK(queue); - CURVNET_SET(task->ta_vnet); task->ta_func(task->ta_context, pending); - CURVNET_RESTORE(); TQ_LOCK(queue); tb.tb_running = NULL;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310181126.r9IBQeU5001973>