mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +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