diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2019-09-01 14:01:09 +0000 |
---|---|---|
committer | Mateusz Guzik <mjg@FreeBSD.org> | 2019-09-01 14:01:09 +0000 |
commit | 2796c209b03972bfbe3b1a1bd8ea3309f9cfca4e (patch) | |
tree | f43bafb5b71a6c5ef9f092f3b39e26d539b978c9 /usr.sbin/mpsutil/Makefile.depend | |
parent | b21097894e316eeebe2f3e1ef4a135c2eac24218 (diff) |
vfs: stop refing freed mount points in vop_stdgetwritemount
The code used blindly ref based on an unsafely red address and then would
backpedal if necessary. This was safe in terms of memory access since
mounts are type-stable, but made for a potential a bug where the mount
was reused and had the count reset to 0 before this code decreased it.
Reviewed by: kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D21411
Notes
Notes:
svn path=/head/; revision=351656
Diffstat (limited to 'usr.sbin/mpsutil/Makefile.depend')
0 files changed, 0 insertions, 0 deletions