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.
This commit is contained in:
Gleb Smirnoff 2010-03-25 10:13:21 +00:00
parent c72c2330d0
commit cecdd23f87
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=205636

View File

@ -286,15 +286,6 @@ ng_netflow_newhook(node_p node, hook_p hook, const char *name)
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);