opnsense-src/sys/fs
Konstantin Belousov 833429229a In devfs_lookupx() dotdot lookup case, avoid dereferencing
dvp->v_mount after dvp is unlocked.

The vnode might be reclaimed after unlock, so v_mount becomes NULL.
Cache the struct mount pointer before the unlock, the struct is
type-stable.

Note that devfs_allocv() reads mp->mnt_data but does not operate on it
further when dirent is doomed.  The unmount cannot proceed until all
dirents are reclaimed.

Reported and tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2017-12-14 13:41:11 +00:00
..
autofs Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
cd9660 sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
cuse Allow CUSE(3) to free all memory mapped memory by using regular SWAP objects 2017-11-03 14:10:57 +00:00
deadfs sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
devfs In devfs_lookupx() dotdot lookup case, avoid dereferencing 2017-12-14 13:41:11 +00:00
ext2fs SPDX: some uses of the RSA-MD license. 2017-12-13 16:30:39 +00:00
fdescfs sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
fifofs sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
fuse sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
msdosfs sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
nandfs sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
nfs Define macros used by the pNFS server code. 2017-12-09 21:04:56 +00:00
nfsclient sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
nfsserver Avoid the overhead of acquiring a lock in nfsrv_checkgetattr() when 2017-12-04 21:50:27 +00:00
nullfs sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
procfs sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
pseudofs sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
smbfs sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
tmpfs Fix file missed in r326607. 2017-12-06 00:44:49 +00:00
udf sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
unionfs sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00