mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 05:49:27 +00:00
Be a bit more technical:
Technically junk may have low entropy.
This commit is contained in:
parent
27a29543f3
commit
a6ddbff039
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104002
@ -637,7 +637,7 @@ ether_input(struct ifnet *ifp, struct ether_header *eh, struct mbuf *m)
|
||||
recvLocal:
|
||||
/* Continue with upper layer processing */
|
||||
ether_demux(ifp, eh, m);
|
||||
/* First chunk of an mbuf contains good junk */
|
||||
/* First chunk of an mbuf contains good entropy */
|
||||
if (harvest.ethernet)
|
||||
random_harvest(m, 16, 3, 0, RANDOM_NET);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user