freebsd-dev/sys
Bjoern A. Zeeb e6950476b9 Plug well observed races on la_hold entries with the callout handler.
Call the handler function with the lock held, return unlocked as we
might free the entry.  Rework functions later in the call graph to be
either called with the lock held or, only if needed, unlocked.

Place asserts to document and tighten assumptions on various lle locking,
which were not always true before.

We call nd6_ns_output() unlocked and the assignment of ip6->ip6_src was
decentralized to minimize possible complexity introduced with the formerly
missing locking there.  This also resulted in a push down of local
variable scopes into smaller blocks.

Reported by:	many
PR:		kern/148857
Submitted by:	Dmitrij Tejblum (tejblum yandex-team.ru) (original version)
MFC After:	4 days
2010-11-29 00:04:08 +00:00
..
amd64 Calling fill_fpregs() for curthread is legitimate, and ELF coredump 2010-11-28 17:56:34 +00:00
arm Provide a mutex around the read/modify/write of the IXP425_GPIO_* 2010-11-14 20:41:22 +00:00
boot Give a bit of a hint of the failure (read != expected) but don't make 2010-11-25 03:16:31 +00:00
bsm
cam If HBA doesn't report user-enabled SATA capabilies (like ATA_CAM wrapper) - 2010-11-18 13:38:33 +00:00
cddl zfs+sendfile: populate all requested pages, not just those already cached 2010-11-16 15:53:44 +00:00
compat Add prototype for InitializeSListHead(). 2010-11-23 22:17:06 +00:00
conf Bump up MIPS limits once again; the new Cavium Octeon SDK requires even higher 2010-11-28 08:09:20 +00:00
contrib Merge Cavium Octeon SDK 2.0 Simple Executive; this brings some fixes and new 2010-11-28 08:18:16 +00:00
crypto Remove DEBUG sections. 2010-11-27 15:41:44 +00:00
ddb
dev Several chipset drivers alter parameters relevant for the DMA tag creation, 2010-11-28 18:53:29 +00:00
fs Remove prtactive variable and related printf()s in the vop_inactive 2010-11-19 21:17:34 +00:00
gdb
geom Use g_eventlock to protect against losing wakeups in the g_event process 2010-11-22 16:47:53 +00:00
gnu Remove prtactive variable and related printf()s in the vop_inactive 2010-11-19 21:17:34 +00:00
i386 Calling fill_fpregs() for curthread is legitimate, and ELF coredump 2010-11-28 17:56:34 +00:00
ia64
isa
kern Account i/o done on cdevs. 2010-11-25 20:05:11 +00:00
kgssapi
libkern Add support for asterisk characters when filling in the GELI password 2010-11-14 14:12:43 +00:00
mips Merge Cavium Octeon SDK 2.0 Simple Executive; this brings some fixes and new 2010-11-28 08:18:16 +00:00
modules Update ixgbe driver to verion 2.3.6 2010-11-26 22:46:32 +00:00
net o Swap descriptions for net.bpf.bufsize and net.bpf.maxbufsize. 2010-11-24 05:50:19 +00:00
net80211 The meshid element is memcpy()'ed into se_meshid if included in either 2010-11-22 19:01:47 +00:00
netatalk
netgraph Simplify ng_pipe locking model by relying on the netgraph framework 2010-11-24 16:02:58 +00:00
netinet Fix more continuous/contiguous typos (cf. r215955) 2010-11-27 21:51:39 +00:00
netinet6 Plug well observed races on la_hold entries with the callout handler. 2010-11-29 00:04:08 +00:00
netipsec After some off-list discussion, revert a number of changes to the 2010-11-22 19:32:54 +00:00
netipx
netnatm
netncp
netsmb
nfs
nfsclient Remove prtactive variable and related printf()s in the vop_inactive 2010-11-19 21:17:34 +00:00
nfsserver
nlm
opencrypto
pc98 Remove npxgetregs(), npxsetregs(), fpugetregs() and fpusetregs() 2010-11-26 14:50:42 +00:00
pci
powerpc After some off-list discussion, revert a number of changes to the 2010-11-22 19:32:54 +00:00
rpc
security
sparc64 Define VM_KMEM_SIZE_MAX on sparc64. Otherwise kernel built with 2010-11-28 19:26:20 +00:00
sun4v
sys Add a missing CTL description from CVS revision 1.147. 2010-11-25 15:56:05 +00:00
teken
tools
ufs First step in fixing the handle_workitem_freeblocks panic. 2010-11-27 20:27:07 +00:00
vm Fix issue noted by alc while reviewing r215938: 2010-11-28 05:51:31 +00:00
x86 Merge amd64/i386 _align.h by aligning on the size of register_t (copied 2010-11-26 10:59:20 +00:00
xdr
xen
Makefile Add lex and yacc sources to things cscope'd. 2010-11-21 03:58:11 +00:00