svn commit: r205636 - head/sys/netgraph/netflow
Gleb Smirnoff
glebius at FreeBSD.org
Thu Mar 25 10:13:21 UTC 2010
Author: glebius
Date: Thu Mar 25 10:13:21 2010
New Revision: 205636
URL: http://svn.freebsd.org/changeset/base/205636
Log:
Remove disabled code. In 99% cases exports are send to ng_ksocket(4), which
already forces queued mode, so what was suggested in disabled code is already
done.
Modified:
head/sys/netgraph/netflow/ng_netflow.c
Modified: head/sys/netgraph/netflow/ng_netflow.c
==============================================================================
--- head/sys/netgraph/netflow/ng_netflow.c Thu Mar 25 08:33:56 2010 (r205635)
+++ head/sys/netgraph/netflow/ng_netflow.c Thu Mar 25 10:13:21 2010 (r205636)
@@ -286,15 +286,6 @@ ng_netflow_newhook(node_p node, hook_p h
priv->export = hook;
-#if 0 /* TODO: profile & test first */
- /*
- * We send export dgrams in interrupt handlers and in
- * callout threads. We'd better queue data for later
- * netgraph ISR processing.
- */
- NG_HOOK_FORCE_QUEUE(NG_HOOK_PEER(hook));
-#endif
-
/* Exporter is ready. Let's schedule expiry. */
callout_reset(&priv->exp_callout, (1*hz), &ng_netflow_expire,
(void *)priv);
More information about the svn-src-all
mailing list