svn commit: r358081 - head/sys/netpfil/ipfw
Hans Petter Selasky
hselasky at FreeBSD.org
Tue Feb 18 19:53:38 UTC 2020
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");
More information about the svn-src-all
mailing list