freebsd-skq/sys
Will Andrews d6738ada26 FireWire: Don't allow a tlabel to reference an xfer after free.
sys/dev/firewire/firewire.c:
- fw_xfer_unload(): Since we are about to free this xfer, call fw_tl_free()
  to remove the xfer from its tlabel's list, if it has a tlabel.
- In every occasion when a xfer is removed from a tlabel's list, reset
  xfer->tl to -1 while holding fc->tlabel_lock, so that the xfer isn't
  mis-identified as belonging to a tlabel.

This doesn't fix all the use-after-free problems for M_FWMEM, but is an
incremental towards that goal.

Reviewed by:	kan, sbruno
Sponsored by:	Spectra Logic
2013-04-08 23:16:42 +00:00
..
amd64 Merge from projects/counters: counter(9). 2013-04-08 19:40:53 +00:00
arm Merge from projects/counters: counter(9). 2013-04-08 19:40:53 +00:00
boot The CELL fields can be various integer types depending on the platform 2013-04-07 05:53:42 +00:00
bsm Implement chflagsat(2) system call, similar to fchmodat(2), but operates on 2013-03-21 22:59:01 +00:00
cam Fix a memory leak that showed up when we delete LUNs. The memory used for 2013-04-08 15:36:26 +00:00
cddl MFV r249186: 2013-04-06 17:24:00 +00:00
compat Regen. 2013-04-02 05:30:52 +00:00
conf Merge from projects/counters: counter(9). 2013-04-08 19:40:53 +00:00
contrib Forcibly defining _KERNEL is bad idea. Toss some code so that ip_var.h 2013-04-08 19:20:27 +00:00
crypto When porting XTS-related code from OpenBSD I forgot to update copyright (only 2013-02-20 22:59:53 +00:00
ddb
dev FireWire: Don't allow a tlabel to reference an xfer after free. 2013-04-08 23:16:42 +00:00
fs Prepare to replace the buf splay with a trie: 2013-04-06 22:21:23 +00:00
gdb
geom Make it possible to submit FLUSH bios through geom_dev strategy. This 2013-04-06 10:32:06 +00:00
gnu/fs/reiserfs Garbage collect XFS bits which are now already completely disconnected 2013-03-02 15:33:54 +00:00
i386 Merge from projects/counters: counter(9). 2013-04-08 19:40:53 +00:00
ia64 Merge from projects/counters: counter(9). 2013-04-08 19:40:53 +00:00
isa
kern Switch some "low-hanging fruit" to acquire read lock on vmobjects 2013-04-08 19:58:32 +00:00
kgssapi
libkern Add __aeabi_memset to libkern, implemented using memset, as clang may 2013-03-16 23:11:55 +00:00
mips Merge from projects/counters: counter(9). 2013-04-08 19:40:53 +00:00
modules Remove atadevel(4), it no longer builds with ATA_CAM and it's unlikely 2013-04-06 19:33:24 +00:00
net Ignore interface renames instead of removing the interface from the bridge 2013-03-28 20:37:07 +00:00
net80211 Add VNET wrappers around the rest of the ieee80211 rtsock messages. 2013-03-20 02:42:52 +00:00
netatalk
netgraph Add blacklist entries for Atheros bluetooth device IDs that are known to 2013-04-05 23:41:38 +00:00
netinet Merge from projects/counters: TCP/IP stats. 2013-04-08 19:57:21 +00:00
netinet6 Clean up some unused leftover code. 2013-03-22 01:45:54 +00:00
netipsec Use m_get2() + m_align() instead of hand made key_alloc_mbuf(). Code 2013-03-15 10:20:15 +00:00
netipx
netnatm
netpfil Fix ipfw rule validation partially broken by r248552. 2013-04-01 11:28:52 +00:00
netsmb Call make_dev_credf() rather than using the couple make_dev()/dev_ref(). 2013-03-09 16:58:19 +00:00
nfs Use m_get() and m_getcl() instead of compat macros. 2013-03-15 10:21:18 +00:00
nfsclient Fix remainder calculation when biosize is not a power of 2 2013-03-19 13:06:11 +00:00
nfsserver Switch the vm_object mutex to be a rwlock. This will enable in the 2013-03-09 02:32:23 +00:00
nlm
ofed Check for SS_NBIO in the socket state field rather than socket buffer 2013-04-03 20:31:10 +00:00
opencrypto When porting XTS-related code from OpenBSD I forgot to update copyright (only 2013-02-20 22:59:53 +00:00
pc98 Merge from projects/counters: counter(9). 2013-04-08 19:40:53 +00:00
pci Fix build. 2013-02-21 12:52:18 +00:00
powerpc Merge from projects/counters: counter(9). 2013-04-08 19:40:53 +00:00
rpc Fix a potential socket leak in the NFS server. If a client closes its 2013-04-08 19:03:01 +00:00
security Switch the vm_object mutex to be a rwlock. This will enable in the 2013-03-09 02:32:23 +00:00
sparc64 Merge from projects/counters: counter(9). 2013-04-08 19:40:53 +00:00
sys Merge from projects/counters: counter(9). 2013-04-08 19:40:53 +00:00
teken
tools Further refine the handling of stop signals in the NFS client. The 2013-02-21 19:02:50 +00:00
ufs Prepare to replace the buf splay with a trie: 2013-04-06 22:21:23 +00:00
vm The per-page act_count can be made very-easily protected by the 2013-04-08 20:02:27 +00:00
x86 Record the correct error in the trace. 2013-04-01 09:57:46 +00:00
xdr Use m_get() and m_getcl() instead of compat macros. 2013-03-15 10:21:18 +00:00
xen
Makefile Remove netncp cscope entry missed in r248097 2013-03-12 14:21:52 +00:00