freebsd-dev/sys
Andrew Gallatin fe81f64ffc 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
2000-05-26 13:47:02 +00:00
..
alpha Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
amd64 Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
boot Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
cam Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
coda Remove 42 unneeded #include <sys/ioccom.h>. 2000-05-03 07:31:38 +00:00
compat Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
compile
conf Take 146 and 147 for the twe driver. 2000-05-24 23:19:15 +00:00
contrib Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
crypto Remove ~25 unneeded #include <sys/conf.h> 2000-04-19 14:58:28 +00:00
ddb Add a new sysctl "debug.enter_debugger" (when the kernel is compiled 2000-01-27 22:27:34 +00:00
dev Add SUP1670 - Supra 336i V+ Intl. Since we update the PnP IDs 2000-05-26 11:41:08 +00:00
fs Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
geom Separate the struct bio related stuff out of <sys/buf.h> into 2000-05-05 09:59:14 +00:00
gnu Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
i4b Remove 42 unneeded #include <sys/ioccom.h>. 2000-05-03 07:31:38 +00:00
i386 Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
isa Add SUP1670 - Supra 336i V+ Intl. Since we update the PnP IDs 2000-05-26 11:41:08 +00:00
isofs/cd9660 Separate the struct bio related stuff out of <sys/buf.h> into 2000-05-05 09:59:14 +00:00
kern Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
libkern Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
miscfs Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
modules Fix typo. 2000-05-25 00:36:43 +00:00
msdosfs Separate the struct bio related stuff out of <sys/buf.h> into 2000-05-05 09:59:14 +00:00
net Rather than checking for hlen causing misalignment, we should do the 2000-05-26 13:47:02 +00:00
netatalk Just need to pass the address family to if_simloop(), not the whole sockaddr. 2000-05-24 21:16:56 +00:00
netatm Just need to pass the address family to if_simloop(), not the whole sockaddr. 2000-05-24 21:16:56 +00:00
netgraph Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
netinet define CSUM_DELAY_DATA to match merge 2000-05-26 07:28:03 +00:00
netinet6 Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
netipx Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
netkey Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
netnatm Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
netncp Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
netns Clean up some loose ends in the network code, including the X.25 and ISO 2000-02-13 03:32:07 +00:00
nfs Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
nfsclient Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
nfsserver Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
ntfs Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
nwfs Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
pc98 Fixed header file path (machine/lpt.h -> dev/ppbus/lptio.h). 2000-05-26 12:25:01 +00:00
pccard Add PnP ID for vadem based plug and play card. 2000-05-02 06:50:17 +00:00
pci Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
posix4 Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
powerpc Handle PCI devices that actually use an ISA IRQ for the cia and tsunami 2000-05-10 18:54:28 +00:00
rpc
svr4 Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
sys Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
tools Use a seperate -c and -h mode. The vnode_if.c file is compiled only into 1999-12-12 16:43:05 +00:00
ufs Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
vm Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
Makefile Cause modules to build with the kernel build. Modules are removed 2000-05-02 02:26:04 +00:00