freebsd-dev/sys
Davide Italiano 2f9e29745c Fix a panic in zfs_rename().
this is due to a wrong dereference of a vnode when it's not locked and
can be (potentially) recycled. 'sdvp' cannot be locked on zfs_rename()
entry point because the VFS can't be sure that this scenario is
LOR-free (it might violate the parent->child lock acquisition rule).
Dereference 'tdvp' instead, which is already locked on entry, and access
'sdvp' fields only when it's safe, i.e. under ZFS_ENTER scope.

While at it, remove the usage of VOP_REALVP, as long as this is a NOP
on FreeBSD.

Discussed with:	avg
Reviewed by:	pjd
2014-04-13 01:15:37 +00:00
..
amd64 There is no need to save and restore the host's return address in the 2014-04-11 20:15:53 +00:00
arm Updates to i.MX53: 2014-04-08 04:05:04 +00:00
boot Add a simple EFI stub loader. This is a quick and dirty of boot1.chrp from 2014-04-13 01:14:25 +00:00
bsm IFp4 @1192291: 2014-04-07 20:44:00 +00:00
cam Fix build breakage caused by r264295 2014-04-10 05:04:23 +00:00
cddl Fix a panic in zfs_rename(). 2014-04-13 01:15:37 +00:00
compat
conf Really, really, really only allow this option for amd64/i386 builds. 2014-04-09 18:44:54 +00:00
contrib Implement the final missing sysctls by moving ipf_auth_softc_t from 2014-04-07 19:32:56 +00:00
crypto
ddb
dev Fix the style of ata_interrupt_locked(). 2014-04-12 23:40:54 +00:00
fs Fix NFS deadlock vulnerability. [SA-14:05] 2014-04-08 18:27:32 +00:00
gdb
geom Align and round the partitionable disk space to 4K by default. 2014-04-12 20:28:39 +00:00
gnu
i386 Really, really, really only allow this option for amd64/i386 builds. 2014-04-09 18:44:54 +00:00
ia64
isa
kern Hide internal details of sbintime_t implementation wrapping INT64_MAX into 2014-04-12 23:29:29 +00:00
kgssapi
libkern
mips
modules Spell imgact_binmisc correctly 2014-04-09 03:46:04 +00:00
net In if_freemulti(), relax the paranoid KASSERT() on ifma->ifma_protospec. 2014-04-10 18:43:02 +00:00
net80211
netgraph
netinet Some whitespace and style fixes. 2014-04-11 21:00:59 +00:00
netinet6 Properly release the in6_multi lock. 2014-04-12 02:05:31 +00:00
netipsec
netnatm
netpfil
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
pc98
pci
powerpc Small performance optimization. Clobber only cr0, rather than the entire CR. 2014-04-11 06:17:44 +00:00
rpc
security
sparc64
sys Hide internal details of sbintime_t implementation wrapping INT64_MAX into 2014-04-12 23:29:29 +00:00
teken
tools
ufs
vm
x86
xdr
xen
Makefile