freebsd-skq/sys
thompsa 3e441b1207 Check the alignment of the IP header before passing the packet up to the
packet filter. This would cause a panic on architectures that require strict
alignment such as sparc64, ia64 and ppc.

This uses the code block from if_bridge and the newly added macro
IP_HDR_ALIGNED_P().

This /might/ be a temporary messure before all NIC drivers are educated
to align the header themself.

PR:		ia64/81284
Obtained from:	NetBSD (if_bridge)
Approved by:	re (dwhite), mlaier (mentor)
2005-07-03 18:24:03 +00:00
..
alpha Add .cvsignore files just like in sys/<arch>/compiled, this keeps CVS from 2005-06-20 16:52:59 +00:00
amd64 Check the alignment of the IP header before passing the packet up to the 2005-07-02 23:13:31 +00:00
arm - Use a TAILQ instead of parsing the array to find a free dmamap. 2005-06-24 23:57:27 +00:00
boot Improved markup, fixes some spelling and grammar. 2005-06-14 08:49:14 +00:00
bsm For consistency with more system include files, add a trailing '_' to 2005-05-29 16:11:34 +00:00
cam Fix the recent panics/LORs/hangs created by my kqueue commit by: 2005-07-01 16:28:32 +00:00
coda
compat Jumbo-commit to enhance 32 bit application support on 64 bit kernels. 2005-06-30 07:49:22 +00:00
conf Remove the CPU_ENABLE_SSE option from the i386 and pc98 architectures, 2005-07-02 20:06:44 +00:00
contrib Properly initialize ifq_maxlen for the defered send queue and make it 2005-06-26 21:00:52 +00:00
crypto
ddb Implement functions calls from within DDB on ia64. On ia64 a function 2005-07-02 23:52:37 +00:00
dev - Update the CPU version check to recognize P4/EMT64 CPUs. [1] 2005-07-03 16:33:22 +00:00
doc
fs Jumbo-commit to enhance 32 bit application support on 64 bit kernels. 2005-06-30 07:49:22 +00:00
gdb
geom After provider creation!! 2005-05-25 15:54:17 +00:00
gnu Replace the use if ext2fs' bitops by bitstring.h macros. This fixes 2005-06-21 10:11:13 +00:00
i4b Fix some long standing bugs in writing to the BPF device attached to 2005-06-26 18:11:11 +00:00
i386 Check the alignment of the IP header before passing the packet up to the 2005-07-02 23:13:31 +00:00
ia64 Implement functions calls from within DDB on ia64. On ia64 a function 2005-07-02 23:52:37 +00:00
isa Use a simpler implementation for the i8254 timecounter when using the lapic 2005-07-01 15:47:27 +00:00
isofs/cd9660
kern Fix the recent panics/LORs/hangs created by my kqueue commit by: 2005-07-01 16:28:32 +00:00
libkern Fix kiconv on the 64bit plathomes. 2005-05-24 15:38:08 +00:00
modules i386->amd64 sync 2005-06-30 05:37:48 +00:00
net Check the alignment of the IP header before passing the packet up to the 2005-07-03 18:24:03 +00:00
net80211 revert 1.53; it breaks ibss merge 2005-06-13 21:01:06 +00:00
netatalk Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
netatm Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
netgraph - After LibAlias processing check for TCP packet with th_x2 field 2005-06-27 07:39:13 +00:00
netinet Remove ambiguity from hlen. IPv4 is now indicated by is_ipv4 and we need a 2005-07-03 15:42:22 +00:00
netinet6 Check the alignment of the IP header before passing the packet up to the 2005-07-02 23:13:31 +00:00
netipsec Correct typo in a comment describing vshiftl(). 2005-06-02 23:56:10 +00:00
netipx Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
netkey
netnatm
netncp
netsmb lockmgr(...,LK_DRAIN,...) requires a balancing LK_RELEASE: recent 2005-05-13 11:27:48 +00:00
nfs
nfs4client - We want if (mrep != NULL) not if (m_freem != NULL). m_freem will never 2005-04-25 05:11:19 +00:00
nfsclient Ifdef out the incomplete non-blocking IO implementation for NFS 2005-06-16 15:43:17 +00:00
nfsserver
opencrypto malloc.h relies on param.h for a definition of MAXCPU. I guess that there is 2005-05-30 05:01:44 +00:00
pc98 MFi386: r1.221 (Use a simpler implementation for the i8254 timecounter). 2005-07-03 14:19:29 +00:00
pccard Change a directory layout for pc98. 2005-05-10 12:02:18 +00:00
pci Make the initialization in the AGPv3 case match that of Linux. Fixes hangs on 2005-06-26 04:01:11 +00:00
posix4 Introduce MAC Framework and MAC Policy entry points to label and control 2005-05-04 10:39:15 +00:00
powerpc Add .cvsignore files just like in sys/<arch>/compiled, this keeps CVS from 2005-06-20 16:52:59 +00:00
rpc
security Correct grammar error in comment 2005-06-10 04:44:38 +00:00
sparc64 Add .cvsignore files just like in sys/<arch>/compiled, this keeps CVS from 2005-06-20 16:52:59 +00:00
sys Switch Unicode charset name from "ISO-10646-UCS-2" to "UTF-16BE". 2005-07-03 01:12:37 +00:00
tools Allow EVFILT_VNODE events to work on every filesystem type, not just 2005-06-09 20:20:31 +00:00
ufs Allow EVFILT_VNODE events to work on every filesystem type, not just 2005-06-09 20:20:31 +00:00
vm Change the panic in trash_ctor into just a printf for now. Once the reports 2005-06-26 23:44:07 +00:00
Makefile