mirror_zfs/module/os/freebsd
Mark Johnston 68a7a9edc5 Fix potential use-after-frees in FreeBSD getpages and setattr VOPs
The objset object is reallocated during certain dataset operations, such
as rollbacks, so the objset pointer must be loaded after acquiring the
teardown lock.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Signed-off-by: Mark Johnston <markj@FreeBSD.org>
Closes #12704
2021-10-29 16:39:47 -07:00
..
spl Temporarily use root credentials to mount snapshots in .zfs 2021-09-14 17:10:00 -06:00
zfs Fix potential use-after-frees in FreeBSD getpages and setattr VOPs 2021-10-29 16:39:47 -07:00