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);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to