aboutsummaryrefslogtreecommitdiff
path: root/release
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-02-10 22:28:54 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-02-10 22:28:54 +0000
commit2e57c8fde7335793b4d4da78a08946342403ba54 (patch)
treee0d8c3a8f5eb47c510dcac82cfe870a33a3ce0d1 /release
parent37d4ece7c5a8fb46fd5cca10c25c4989f3f2f97d (diff)
downloadsrc-2e57c8fde7335793b4d4da78a08946342403ba54.tar.gz
src-2e57c8fde7335793b4d4da78a08946342403ba54.zip
vfs: fix device count leak on vrele racing with vgone
The race is: CPU1 CPU2 devfs_reclaim_vchr make v_usecount 0 VI_LOCK sees v_usecount == 0, no updates vp->v_rdev = NULL; ... VI_UNLOCK VI_LOCK v_decr_devcount sees v_rdev == NULL, no updates In this scenario si_devcount decrement is not performed. Note this can only happen if the vnode lock is not held. Reviewed by: kib Tested by: pho Differential Revision: https://reviews.freebsd.org/D23529
Notes
Notes: svn path=/head/; revision=357746
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions