Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2020 19:53:36 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r358081 - head/sys/netpfil/ipfw
Message-ID:  <202002181953.01IJracb020466@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Tue Feb 18 19:53:36 2020
New Revision: 358081
URL: https://svnweb.freebsd.org/changeset/base/358081

Log:
  Use NET_TASK_INIT() and NET_GROUPTASK_INIT() for drivers that process
  incoming packets in taskqueue context.
  
  This patch extends r357772.
  
  Differential Revision:	https://reviews.freebsd.org/D23742
  Reviewed by:	glebius@
  Sponsored by:	Mellanox Technologies

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

Modified: head/sys/netpfil/ipfw/ip_dummynet.c
==============================================================================
--- head/sys/netpfil/ipfw/ip_dummynet.c	Tue Feb 18 19:41:55 2020	(r358080)
+++ head/sys/netpfil/ipfw/ip_dummynet.c	Tue Feb 18 19:53:36 2020	(r358081)
@@ -2550,7 +2550,7 @@ ip_dn_init(void)
 
 	DN_LOCK_INIT();
 
-	TASK_INIT(&dn_task, 0, dummynet_task, curvnet);
+	NET_TASK_INIT(&dn_task, 0, dummynet_task, curvnet);
 	dn_tq = taskqueue_create_fast("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?202002181953.01IJracb020466>