Page MenuHomeFreeBSD

Fix page fault in zfsctl_snapdir_getattr
ClosedPublic

Authored by asomers on Jul 1 2020, 10:17 PM.
Tags
None
Referenced Files
F174125655: D25543.id74003.diff
Wed, Sep 30, 7:13 PM
Unknown Object (File)
Sat, Sep 19, 5:16 PM
Unknown Object (File)
Fri, Sep 18, 8:21 PM
Unknown Object (File)
Wed, Sep 16, 3:59 AM
Unknown Object (File)
Mon, Sep 14, 7:59 AM
Unknown Object (File)
Mon, Sep 14, 3:05 AM
Unknown Object (File)
Sun, Sep 13, 6:56 PM
Unknown Object (File)
Tue, Sep 8, 4:48 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