freebsd-dev/sys
Matthew N. Dodd 4af90a4da4 Make sure that the entire header is in the first mbuf before we
attempt to copy the ethernet header forward and otherwise encapsulate
a packet for output.

This fixes the panic when using VLAN devices on hardware that doesn't
do 802.1Q tagging onboard.  (That is to say, all drivers except the Tigon.)

My tests consisted of telnet, ttcp, and a pingflood of packets
between 1 and 1600 (plus headers) bytes.

MFC to follow in 1 week.

Approved by:	jkh
2000-02-03 07:44:39 +00:00
..
alpha Remove 'conflicts' token - it has been effectively doing absolutely 2000-01-29 18:07:07 +00:00
amd64 da0 -> da 2000-02-01 09:32:04 +00:00
boot Fix bogon in previous commit. Re-enable Forth in the loader. 2000-01-30 06:56:27 +00:00
cam Because we added 4 bytes to the inquiry data size, we need to 2000-01-25 21:24:52 +00:00
coda Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 05:07:58 +00:00
compat Avoid passing an uninitialized structure member to the real 2000-02-01 16:20:24 +00:00
compile
conf if_fpa is included when 'device fpa' is present, not 'device fea'. 2000-02-01 16:47:34 +00:00
contrib When writing out bitmap buffers, need to skip over ones that already 2000-01-30 20:32:59 +00:00
crypto Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 05:07:58 +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 support for WEP (encryption) for silver and gold WaveLAN/IEEE turbo cards. 2000-02-02 17:59:13 +00:00
fs Supported non-512 bytes/sector format. 2000-01-27 14:43:07 +00:00
geom Remove #if NCCD > 0 - it's guaranteed to be true by config if ccd.c is 2000-01-29 14:29:56 +00:00
gnu Remove #if NDGB > 0 and #if NDGM > 0 2000-01-29 18:42:45 +00:00
i4b update to isdn4bsd beta release 0.90 1999-12-14 20:54:38 +00:00
i386 Add support for WEP (encryption) for silver and gold WaveLAN/IEEE turbo cards. 2000-02-02 17:59:13 +00:00
isa Use config's conditional compilation rather than using #ifdefs that make 2000-01-29 15:08:56 +00:00
isofs/cd9660 remove check now done in vn_isdisk(). 2000-01-10 12:24:36 +00:00
kern Remove static qualifier from vgonel, as it is needed by the Arla folk 2000-02-02 07:07:17 +00:00
libkern Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 05:07:58 +00:00
miscfs Fix bde'isms in acl/extattr syscall interface, renaming syscalls to 2000-01-19 06:07:34 +00:00
modules Use config's conditional compilation rather than using #ifdefs that make 2000-01-29 15:08:56 +00:00
msdosfs Supported non-512 bytes/sector format. 2000-01-27 14:43:07 +00:00
net Make sure that the entire header is in the first mbuf before we 2000-02-03 07:44:39 +00:00
netatalk Move the *intrq variables into net/intrq.c and unconditionally 2000-01-24 20:39:02 +00:00
netatm Move the *intrq variables into net/intrq.c and unconditionally 2000-01-24 20:39:02 +00:00
netgraph Add control message ASCII conversion for this node type. 2000-01-27 01:32:53 +00:00
netinet The flags PKT_ALIAS_PUNCH_FW and PKT_ALIAS_PROXY_ONLY were both 2000-02-02 23:49:32 +00:00
netinet6 Add ip6fw. 2000-01-29 13:54:44 +00:00
netipx Move the *intrq variables into net/intrq.c and unconditionally 2000-01-24 20:39:02 +00:00
netkey comment the string after #endif 2000-01-15 05:15:06 +00:00
netnatm Move the *intrq variables into net/intrq.c and unconditionally 2000-01-24 20:39:02 +00:00
netncp Enable '=' character in the filename. 2000-01-29 02:10:37 +00:00
netns Move the *intrq variables into net/intrq.c and unconditionally 2000-01-24 20:39:02 +00:00
nfs Fix catastrophic bug in NQNFS related to UDP mounts. The 'nqhost' 2000-01-26 20:51:29 +00:00
nfsclient The alpha build cuases the 'nfsuid bloated' warning to occur. Well, 2000-01-13 20:18:25 +00:00
nfsserver The alpha build cuases the 'nfsuid bloated' warning to occur. Well, 2000-01-13 20:18:25 +00:00
ntfs Forward declare some structs so that this header is more self-suifficent. 2000-01-14 19:54:42 +00:00
nwfs Check if module was compiled without SMP support and running on 2000-01-15 08:35:48 +00:00
pc98 Synced with sys/i386/isa/isa_compat.h rev 1.18. 2000-02-01 09:00:09 +00:00
pccard Update the pci->pcic compatability module to newbus. This is a simple 2000-02-02 16:49:21 +00:00
pci Update the pci->pcic compatability module to newbus. This is a simple 2000-02-02 16:49:21 +00:00
posix4 Track libc_r addition of semaphores implementation. 2000-01-20 07:55:42 +00:00
powerpc The kernel side of per-process unaligned access control (printing, fixing & 2000-01-16 07:07:33 +00:00
rpc $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
svr4 Fix handling of svr4_sigsets, which are implemented in SysVR4 as a sequence 2000-01-15 15:38:17 +00:00
sys Remove static qualifier from vgonel, as it is needed by the Arla folk 2000-02-02 07:07:17 +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 When writing out bitmap buffers, need to skip over ones that already 2000-01-30 20:32:59 +00:00
vm The swapdev_vp changes made to rip out the swap specfs interaction 2000-01-25 17:49:12 +00:00
Makefile ${MACHINE} -> ${MACHINE_ARCH} 1999-11-14 13:54:44 +00:00