Page MenuHomeFreeBSD

Fix page fault in zfsctl_snapdir_getattr
ClosedPublic

Authored by asomers on Jul 1 2020, 10:17 PM.
Tags
None
Referenced Files
F154757922: D25543.id74019.diff
Wed, Apr 29, 9:27 AM
F154755099: D25543.id74019.diff
Wed, Apr 29, 9:22 AM
F154462890: D25543.id74003.diff
Tue, Apr 28, 4:27 PM
F154460880: D25543.id74003.diff
Tue, Apr 28, 4:24 PM
F154416242: D25543.diff
Tue, Apr 28, 10:12 AM
Unknown Object (File)
Sat, Apr 25, 9:46 AM
Unknown Object (File)
Fri, Apr 24, 5:33 AM
Unknown Object (File)
Tue, Apr 21, 11:37 AM
Subscribers

Details

Summary

Fix page fault in zfsctl_snapdir_getattr

Must acquire the z_teardown_lock before accessing the zfsvfs_t object. I
can't reproduce this panic on demand, but this looks like the correct
solution.

PR: 247668

Test Plan

The ZFS test suite

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable