summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2008-04-16 16:47:14 +0000
committerkris <kris@FreeBSD.org>2008-04-16 16:47:14 +0000
commit267b42a43bcc8d85b017b2fb402c25af07ba0212 (patch)
tree5f5ef92b09a59ec14c419cb6b94d58b42865c243 /sys/netgraph
parent994093cd2594f14da8414bae9b734c6fee4d14d7 (diff)
downloadFreeBSD-src-267b42a43bcc8d85b017b2fb402c25af07ba0212.zip
FreeBSD-src-267b42a43bcc8d85b017b2fb402c25af07ba0212.tar.gz
Replace callout_init(..., 1) with callout_init(..., CALLOUT_MPSAFE) for
better grep-compliance and to standardize with the rest of the kernel. Reviewed by: jhb MFC after: 1 week
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/netflow/ng_netflow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/netflow/ng_netflow.c b/sys/netgraph/netflow/ng_netflow.c
index c67d90b..c813e50 100644
--- a/sys/netgraph/netflow/ng_netflow.c
+++ b/sys/netgraph/netflow/ng_netflow.c
@@ -184,7 +184,7 @@ ng_netflow_constructor(node_p node)
priv->info.nfinfo_act_t = ACTIVE_TIMEOUT;
/* Initialize callout handle */
- callout_init(&priv->exp_callout, 1);
+ callout_init(&priv->exp_callout, CALLOUT_MPSAFE);
/* Allocate memory and set up flow cache */
if ((error = ng_netflow_cache_init(priv)))
OpenPOWER on IntegriCloud