freebsd-dev/sys
Randall Stewart adf5d1c6d0 atomic_fetchadd_int is used by mb_free_ext(), but it
returns the previous value that the "add" effected (In
this case we are adding -1), afterwhich we compare it
to '0'... to see if we free the mbuf... we should
be comparing it to '1'... Note that this only effects
when there is contention since there is a first part
to the comparison that checks to see if its '1'. So
this bug would only crop up if two CPU's are trying
to free the same mbuf refcount at the same time. This
will happen in SCTP but I doubt can happen in TCP or
UDP.
PR:		N/A
Submitted by:	rrs
Reviewed by:	gnn,sam
Approved by:	gnn,sam
2006-09-21 09:55:43 +00:00
..
amd64 Use __builtin_va_start instead of __builtin_stdarg_start. GCC4 obsoletes 2006-09-21 01:37:02 +00:00
arm Use __builtin_va_start instead of __builtin_stdarg_start. GCC4 obsoletes 2006-09-21 01:37:02 +00:00
boot - Include <sys/reboot.h> to get the RB_* defines. 2006-09-05 19:28:03 +00:00
bsm Merge OpenBSM 1.0 alpha 11 changes into src/sys/bsm and src/sys/security; 2006-09-21 07:27:02 +00:00
cam Don't allow attachment of disks that could cause GEOM to panic. 2006-09-16 21:21:07 +00:00
coda Since DELAY() was moved, most <machine/clock.h> #includes have been 2006-05-16 14:37:58 +00:00
compat Regenerate. 2006-09-21 04:50:38 +00:00
conf Remove MAC_DEBUG label counters, which were used to debug leaks and 2006-09-20 13:33:41 +00:00
contrib remove this from HEAD too since it got taken off the vendor branch 2006-09-18 17:01:35 +00:00
crypto Less magic. 2006-09-15 10:44:55 +00:00
ddb Fix two nits in the ps header that offset each other making them largely 2006-08-01 22:30:55 +00:00
dev Add a new 'bce_mgmt_init_locked' function to enable the minimal parts 2006-09-20 18:55:16 +00:00
fs Fix the bug in rev. 1.134. In devfs_allocv_drop_refs(), when not_found == 2 2006-09-19 14:03:02 +00:00
gdb Convert to new console api 2006-05-26 13:54:27 +00:00
geom Fix detecting of UFS1 label when mediasize%fragsize != 0. 2006-09-16 11:24:41 +00:00
gnu Add snd_emu10kx driver for Creative SoundBlaster Live! and Audigy series 2006-07-15 19:36:28 +00:00
i4b Extend i4b to support CAPI manager based ISDN controllers (CAPI manager is part of 2006-07-09 21:16:06 +00:00
i386 Use __builtin_va_start instead of __builtin_stdarg_start. GCC4 obsoletes 2006-09-21 01:37:02 +00:00
ia64 Use __builtin_va_start instead of __builtin_stdarg_start. GCC4 obsoletes 2006-09-21 01:37:02 +00:00
isa Eliminate one set of XBOX #ifdefs. The Xbox code just needs to set a 2006-08-09 23:47:38 +00:00
isofs/cd9660 Remove calls to vfs_export() for exporting a filesystem for NFS mounting 2006-05-26 00:32:21 +00:00
kern atomic_fetchadd_int is used by mb_free_ext(), but it 2006-09-21 09:55:43 +00:00
libkern Add strstr() function to the libkern. 2006-08-12 15:28:39 +00:00
modules fixup build after move of ah_osdep.? 2006-09-18 16:50:59 +00:00
net Move ethernet VLAN tags from mtags to its own mbuf packet header field 2006-09-17 13:33:30 +00:00
net80211 Move ethernet VLAN tags from mtags to its own mbuf packet header field 2006-09-17 13:33:30 +00:00
netatalk Since soisdisconnected() is no longer called in pru_detach(), call it 2006-08-05 14:14:34 +00:00
netatm Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netgraph Move ethernet VLAN tags from mtags to its own mbuf packet header field 2006-09-17 13:33:30 +00:00
netinet Make tcp_usr_send() free the passed mbufs on error in all cases as the 2006-09-17 13:39:35 +00:00
netinet6 Make it possible to add an IPv6 host route to a host directly connected. 2006-09-16 06:24:28 +00:00
netipsec Fix build breakage from previous commit which confused key_abort and key_close. 2006-07-22 09:18:02 +00:00
netipx Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netkey With exception of the if_name() macro, all definitions in net_osdep.h 2006-08-04 21:27:40 +00:00
netnatm Change semantics of socket close and detach. Add a new protocol switch 2006-07-21 17:11:15 +00:00
netncp - Fix ncp_poll() to not panic if the socket doesn't have any pending data. 2006-08-03 15:31:52 +00:00
netsmb Fix misalignment bugs caused by invalid type casts of pointers 2006-08-22 03:05:51 +00:00
nfs
nfs4client Fixes up the handling of shared vnode lock lookups in the NFS client, 2006-09-13 18:39:09 +00:00
nfsclient Fixes up the handling of shared vnode lock lookups in the NFS client, 2006-09-13 18:39:09 +00:00
nfsserver - Add a new function nfsrv_destroycache() to tear down the server request 2006-08-01 16:27:14 +00:00
opencrypto When DIAGNOSTIC is defined, verify if we don't free crypto requests from 2006-06-06 15:04:52 +00:00
pc98 Fix style nits. No md5 changes in .o's. ;-) 2006-09-08 21:46:01 +00:00
pccard
pci Whitespace nits. 2006-09-15 11:01:23 +00:00
posix4 Backout the feature which can change thread's scheduling option, I really 2006-07-13 06:41:26 +00:00
powerpc Use __builtin_va_start instead of __builtin_stdarg_start. GCC4 obsoletes 2006-09-21 01:37:02 +00:00
rpc
security Merge OpenBSM 1.0 alpha 11 changes into src/sys/bsm and src/sys/security; 2006-09-21 07:27:02 +00:00
sparc64 Use __builtin_va_start instead of __builtin_stdarg_start. GCC4 obsoletes 2006-09-21 01:37:02 +00:00
sys Regenerate. 2006-09-21 04:19:48 +00:00
tools Check for errors when registering and unregistering firmware modules. This 2006-06-16 21:06:03 +00:00
ufs Fix the glitch introduced in rev. 1.93. In softdep_sync_metadata(), 2006-09-20 07:49:28 +00:00
vm Make vm_page_release_contig() static. 2006-09-03 22:24:08 +00:00
Makefile Don't need to special case arm here anymore 2006-08-10 06:29:43 +00:00