mirror_zfs/module/os
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
..
freebsd Fix potential use-after-frees in FreeBSD getpages and setattr VOPs 2021-10-29 16:39:47 -07:00
linux Use fallthrough macro 2021-09-14 10:17:54 -06:00