summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2013-10-06 12:40:32 +0000
committermarkm <markm@FreeBSD.org>2013-10-06 12:40:32 +0000
commit0643acd34d203434b5eee69085ba0e8f884f5ab5 (patch)
treeafae865a17396fb82caf2f596222c496e4eac5e7 /sys/netgraph
parentfa3a3d91b58a86d49ce10b7655012d7c1169da9a (diff)
downloadFreeBSD-src-0643acd34d203434b5eee69085ba0e8f884f5ab5.zip
FreeBSD-src-0643acd34d203434b5eee69085ba0e8f884f5ab5.tar.gz
Debug run. This now works, except that the "live" sources haven't
been tested. With all sources turned on, this unlocks itself in a couple of seconds! That is no my box, and there is no guarantee that this will be the case everywhere. * Cut debug prints. * Use the same locks/mutexes all the way through. * Be a tad more conservative about entropy estimates.
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/ng_iface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_iface.c b/sys/netgraph/ng_iface.c
index 12ee3a5..6c18d2a 100644
--- a/sys/netgraph/ng_iface.c
+++ b/sys/netgraph/ng_iface.c
@@ -775,7 +775,7 @@ ng_iface_rcvdata(hook_p hook, item_p item)
return (EAFNOSUPPORT);
}
if (harvest.point_to_point)
- random_harvest(&(m->m_data), 12, 3, RANDOM_NET_NG);
+ random_harvest(&(m->m_data), 12, 2, RANDOM_NET_NG);
M_SETFIB(m, ifp->if_fib);
netisr_dispatch(isr, m);
return (0);
OpenPOWER on IntegriCloud