We can't copyout() while holding a lock, in case it triggers a page
fault.
Release the lock before copyout, which is safe because we've already
copied all the data into the nvlist.
PR: 258601
MFC after: 1 week
Sponsored by: Modirum MDPay
Differential D32076
pf: fix pagefault in pf_getstatus() kp on Sep 23 2021, 8:42 AM. Authored by Tags None Referenced Files
Details We can't copyout() while holding a lock, in case it triggers a page PR: 258601
Diff Detail
|