diff options
author | gallatin <gallatin@FreeBSD.org> | 2000-05-26 13:47:02 +0000 |
---|---|---|
committer | gallatin <gallatin@FreeBSD.org> | 2000-05-26 13:47:02 +0000 |
commit | 0eb0bb6777534bbb9dd3aac1d82ae83306648b43 (patch) | |
tree | fd1f2eb8a25c3b4ce9810fa14131cb2c89d41c83 /sys/contrib | |
parent | 2a39533c003007b1c26ce9ae8ce4ee9cf5a59884 (diff) | |
download | FreeBSD-src-0eb0bb6777534bbb9dd3aac1d82ae83306648b43.zip FreeBSD-src-0eb0bb6777534bbb9dd3aac1d82ae83306648b43.tar.gz |
Rather than checking for hlen causing misalignment, we should do the
m_adj() and then check the resulting mbuf for misalignment, copying
backwards to align the mbuf if required.
This fixes a longstanding problem where an mbuf which would have been
properly aligned after an m_adj() was being misaligned and causing an
unaligned access trap in ip_input(). This bug only triggered when booting
diskless.
Reviewed by: dfr
Diffstat (limited to 'sys/contrib')
0 files changed, 0 insertions, 0 deletions