Revert r256587.

Requested by:	zec
This commit is contained in:
Gleb Smirnoff 2013-10-18 11:26:40 +00:00
parent ed3c8ba213
commit a9355dbe82
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=256730

View File

@ -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 *queue)
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;