aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2021-09-23 08:39:49 +0000
committerKristof Provost <kp@FreeBSD.org>2021-09-30 11:51:32 +0000
commit3c9253c2f6d1f076ef35a5538b207a5cc866480f (patch)
tree2c822cc8fff29029f079aaa45c53fc900ea923c9 /gnu
parentcc8e726c85bee3f3da0fb02c12028f2310a7ee17 (diff)
downloadsrc-3c9253c2f6d1f076ef35a5538b207a5cc866480f.tar.gz
src-3c9253c2f6d1f076ef35a5538b207a5cc866480f.zip
pf: fix pagefault in pf_getstatus()
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 Reviewed by: mjg MFC after: 1 week Sponsored by: Modirum MDPay Differential Revision: https://reviews.freebsd.org/D32076 (cherry picked from commit cb13059663e455b3fc69c293dadec53c164490dc)
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions