Page MenuHomeFreeBSD

Fix page fault in zfsctl_snapdir_getattr
ClosedPublic

Authored by asomers on Jul 1 2020, 10:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 14 2024, 2:26 PM
Unknown Object (File)
Dec 20 2023, 8:38 AM
Unknown Object (File)
Nov 7 2023, 4:57 AM
Unknown Object (File)
Sep 15 2023, 10:00 AM
Unknown Object (File)
Sep 9 2023, 8:47 PM
Unknown Object (File)
Aug 28 2023, 3:15 AM
Unknown Object (File)
Aug 28 2023, 3:13 AM
Unknown Object (File)
Aug 28 2023, 3:12 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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 32104
Build 29621: arc lint + arc unit