aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2018-08-26 12:51:46 +0000
committerMark Murray <markm@FreeBSD.org>2018-08-26 12:51:46 +0000
commit19fa89e93888ebfe79d06c7b831bcd39001dce63 (patch)
tree8f0f5d7e4726f1bfb1272ba4d7410195426135e1 /sys/netgraph
parenta1b042f79d71a3a444aef1281fa61ccd45064c6a (diff)
downloadsrc-19fa89e93888ebfe79d06c7b831bcd39001dce63.tar.gz
src-19fa89e93888ebfe79d06c7b831bcd39001dce63.zip
Remove the Yarrow PRNG algorithm option in accordance with due notice
given in random(4). This includes updating of the relevant man pages, and no-longer-used harvesting parameters. Ensure that the pseudo-unit-test still does something useful, now also with the "other" algorithm instead of Yarrow. PR: 230870 Reviewed by: cem Approved by: so(delphij,gtetlow) Approved by: re(marius) Differential Revision: https://reviews.freebsd.org/D16898
Notes
Notes: svn path=/head/; revision=338324
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 bef19a0b8b53..7f3b8b16c0a4 100644
--- a/sys/netgraph/ng_iface.c
+++ b/sys/netgraph/ng_iface.c
@@ -720,7 +720,7 @@ ng_iface_rcvdata(hook_p hook, item_p item)
m_freem(m);
return (EAFNOSUPPORT);
}
- random_harvest_queue(m, sizeof(*m), 2, RANDOM_NET_NG);
+ random_harvest_queue(m, sizeof(*m), RANDOM_NET_NG);
M_SETFIB(m, ifp->if_fib);
netisr_dispatch(isr, m);
return (0);