Page MenuHomeFreeBSD

Fix page fault in zfsctl_snapdir_getattr
ClosedPublic

Authored by asomers on Jul 1 2020, 10:17 PM.
Tags
None
Referenced Files
F170445398: D25543.diff
Fri, Sep 4, 9:01 PM
Unknown Object (File)
Fri, Sep 4, 8:25 AM
Unknown Object (File)
Mon, Aug 31, 3:21 PM
Unknown Object (File)
Wed, Aug 19, 1:59 PM
Unknown Object (File)
Wed, Aug 19, 8:25 AM
Unknown Object (File)
Tue, Aug 18, 8:38 PM
Unknown Object (File)
Tue, Aug 18, 8:01 PM
Unknown Object (File)
Tue, Aug 18, 5:05 PM
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