summaryrefslogtreecommitdiff
path: root/sys/net/pf_ioctl.c
diff options
context:
space:
mode:
authorAlexandr Nedvedicky <sashan@cvs.openbsd.org>2017-10-31 22:05:14 +0000
committerAlexandr Nedvedicky <sashan@cvs.openbsd.org>2017-10-31 22:05:14 +0000
commit613527dfe49c0c6ea091e60da77c17e56e4f4bd8 (patch)
treea08aaefaefe22a8dcbf024424de23beba2b00a48 /sys/net/pf_ioctl.c
parentb64d329b96baa2f1c4581ad8ff98f807d13b1a72 (diff)
- add one more softnet taskq
NOTE: code still runs with single softnet task. change definition of SOFTNET_TASKS in net/if.c, if you want to have more than one softnet task OK mpi@, OK phessler@
Diffstat (limited to 'sys/net/pf_ioctl.c')
-rw-r--r--sys/net/pf_ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c
index f6ad2cb8c53..99aebe1087c 100644
--- a/sys/net/pf_ioctl.c
+++ b/sys/net/pf_ioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_ioctl.c,v 1.323 2017/10/30 22:35:50 sashan Exp $ */
+/* $OpenBSD: pf_ioctl.c,v 1.324 2017/10/31 22:05:12 sashan Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -2463,7 +2463,7 @@ pfioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p)
pf_default_rule_new.timeout[i];
if (pf_default_rule.timeout[i] == PFTM_INTERVAL &&
pf_default_rule.timeout[i] < old)
- task_add(softnettq, &pf_purge_task);
+ task_add(net_tq(0), &pf_purge_task);
}
pfi_xcommit();
pf_trans_set_commit();