diff options
author | adrian <adrian@FreeBSD.org> | 2013-11-02 15:13:02 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-11-02 15:13:02 +0000 |
commit | 900b03bfd292638d49e1ac08220d42da9964a1ec (patch) | |
tree | a5826a63d5a5fcab79d6b7e3682f584e168f9cb0 /sys/netgraph | |
parent | f6c0af936d16e5b05a41713fcf6b118e873e5217 (diff) | |
download | FreeBSD-src-900b03bfd292638d49e1ac08220d42da9964a1ec.zip FreeBSD-src-900b03bfd292638d49e1ac08220d42da9964a1ec.tar.gz |
Restore the entropy gathering from the m_data pointer value, not the
m_data payload.
After talking with markm/bde, this is what markm actually intended.
Diffstat (limited to 'sys/netgraph')
-rw-r--r-- | sys/netgraph/ng_iface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_iface.c b/sys/netgraph/ng_iface.c index 910d30f..e2d3454 100644 --- a/sys/netgraph/ng_iface.c +++ b/sys/netgraph/ng_iface.c @@ -776,7 +776,7 @@ ng_iface_rcvdata(hook_p hook, item_p item) return (EAFNOSUPPORT); } if (harvest.point_to_point) - random_harvest(mtod(m, const void *), 12, 2, 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); |