freebsd-src/sys
Bosko Milekic a352dd9a71 Fixup (hopefully) bridging + ipfw + dummynet together...
* Some dummynet code incorrectly handled a malloc()-allocated pseudo-mbuf
  header structure, called "pkt," and could consequently pollute the mbuf
  free list if it was ever passed to m_freem(). The fix involved passing not
  pkt, but essentially pkt->m_next (which is a real mbuf) to the mbuf
  utility routines.

* Also, for dummynet, in bdg_forward(), made the code copy the ethernet header
  back into the mbuf (prepended) because the dummynet code that follows expects
  it to be there but it is, unfortunately for dummynet, passed to bdg_forward
  as a seperate argument.

PRs: kern/19551 ; misc/21534 ; kern/23010
Submitted by: Thomas Moestl <tmoestl@gmx.net>
Reviewed by: bmilekic
Approved by: luigi
2000-11-23 22:25:03 +00:00
..
alpha Don't unregister the ioctl handlers before we verified we 2000-11-23 03:21:58 +00:00
amd64 Protect the following with a lockmgr lock: 2000-11-22 07:42:04 +00:00
boot mdoc(7) police: do not split author names in the AUTHORS section. 2000-11-22 09:35:58 +00:00
cam Add special quirk for this ancient Viper drive. This is all creeping 2000-11-08 18:37:12 +00:00
coda Give vop_mmap an untimely death. The opportunity to give it a timely 2000-11-01 17:57:24 +00:00
compat Forgot to patch this file in file descriptor race fix commit 2000-11-23 11:05:14 +00:00
compile
conf Accept filters broke kernels compiled without options INET. 2000-11-20 01:35:25 +00:00
contrib/dev We should include <machine/stdarg.h> not <stdarg.h> 2000-10-28 08:32:43 +00:00
crypto Initial import of AES algorithm code (aka Rijndael) from KAME. 2000-10-30 11:03:32 +00:00
ddb Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
dev Add a forgotten mutex_exit()/KUE_UNLOCK() to kue_init(). 2000-11-23 05:58:48 +00:00
fs Use vop_defaultop() instead of ntfs_bypass(). 2000-11-18 02:47:12 +00:00
geom Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
gnu Quick fix for not writing group descriptor group, inode bitmaps or 2000-11-10 14:54:15 +00:00
i4b Fix i4b netgraph interface to not kernel panic at boot time 2000-11-09 12:27:31 +00:00
i386 o Change the argument of linux_sigreturn to be a pointer to a 2000-11-23 08:55:30 +00:00
ia64 Protect the following with a lockmgr lock: 2000-11-22 07:42:04 +00:00
isa Ignore resources with a size of 0, as these are disabled (and we don't 2000-11-07 00:03:33 +00:00
isofs/cd9660 Weaken a bogus dependency on <sys/proc.h> in <sys/buf.h> by #ifdef'ing 2000-10-29 14:54:55 +00:00
kern Protect the following with a lockmgr lock: 2000-11-22 07:42:04 +00:00
libkern Fix compilation of profiled kernels by including <machine/lock.h> 2000-10-14 08:34:27 +00:00
miscfs More paranoia against overflows 2000-11-08 21:53:05 +00:00
modules Add one2many subdirectory (previously forgotten). 2000-11-22 19:04:42 +00:00
msdosfs Weaken a bogus dependency on <sys/proc.h> in <sys/buf.h> by #ifdef'ing 2000-10-29 14:54:55 +00:00
net Fixup (hopefully) bridging + ipfw + dummynet together... 2000-11-23 22:25:03 +00:00
netatalk Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06:56 +00:00
netatm Add back some #include <sys/systm.h> which were needed when <sys/ktr.h> 2000-10-30 20:37:01 +00:00
netgraph Add the use of M_ZERO to netgraph. 2000-11-18 15:17:43 +00:00
netinet Fixup (hopefully) bridging + ipfw + dummynet together... 2000-11-23 22:25:03 +00:00
netinet6 Change check from mbuf->m_ext.ext_free to use the new ext_type in order 2000-11-11 23:07:38 +00:00
netipx Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06:56 +00:00
netkey Revert previous commit after discussion with phk. 2000-10-30 09:13:46 +00:00
netnatm Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
netncp Make malloc use M_ZERO in some more locations. 2000-10-29 16:14:28 +00:00
netns
nfs This patchset fixes a large number of file descriptor race conditions. 2000-11-18 21:01:04 +00:00
nfsclient This patchset fixes a large number of file descriptor race conditions. 2000-11-18 21:01:04 +00:00
nfsserver This patchset fixes a large number of file descriptor race conditions. 2000-11-18 21:01:04 +00:00
ntfs Use vop_defaultop() instead of ntfs_bypass(). 2000-11-18 02:47:12 +00:00
nwfs v_interlock is a mutex now, not simple lock. 2000-11-04 02:42:11 +00:00
pc98 Merged from sys/i386/i386/machdep.c revision 1.421. 2000-11-20 12:06:08 +00:00
pccard fix type check in pccard_beep_select 2000-11-01 00:37:34 +00:00
pci Update the probe some more to deal with 16/32 bit issues. If the chip 2000-11-23 00:28:43 +00:00
posix4 Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
powerpc Convert various calls to splhigh() to disable_intr() since splhigh() is 2000-11-19 12:28:42 +00:00
rpc
svr4 This patchset fixes a large number of file descriptor race conditions. 2000-11-18 21:01:04 +00:00
sys Fix the KTR tracepoints for mtx_enter/exit/try_enter to properly order the 2000-11-23 00:38:45 +00:00
tools remove crufty exec stuff, perl is in the base system 2000-06-27 19:09:55 +00:00
ufs More aggressively rate limit the growth of soft dependency structures 2000-11-20 06:22:39 +00:00
vm Protect the following with a lockmgr lock: 2000-11-22 07:42:04 +00:00
Makefile I should know better than to touch this without testing a 'make release' 2000-08-24 18:53:09 +00:00