freebsd-nq/sys/netpfil/pf
Kristof Provost cb13059663 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
2021-09-23 21:56:59 +02:00
..
if_pflog.c pf: Split pfi_kif into a user and kernel space structure 2021-01-05 23:35:37 +01:00
if_pfsync.c pf: rename pf_state to pf_kstate 2021-07-08 10:31:43 +02:00
in4_cksum.c
pf_altq.h pf: qid and pqid can be uint16_t 2021-09-10 17:07:57 +02:00
pf_if.c pf: switch kif counters to pf_counter_u64 2021-07-25 10:22:17 +02:00
pf_ioctl.c pf: fix pagefault in pf_getstatus() 2021-09-23 21:56:59 +02:00
pf_lb.c pf: switch rule counters to pf_counter_u64 2021-07-25 10:22:17 +02:00
pf_mtag.h pf: qid and pqid can be uint16_t 2021-09-10 17:07:57 +02:00
pf_norm.c pf: implement set-tos for IPv6 2021-08-19 10:07:56 +02:00
pf_nv.c pf: switch rule counters to pf_counter_u64 2021-07-25 10:22:17 +02:00
pf_nv.h pf: switch rule counters to pf_counter_u64 2021-07-25 10:22:17 +02:00
pf_osfp.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
pf_ruleset.c pf: match keyword support 2021-07-17 12:01:08 +02:00
pf_syncookies.c pf: Add counters for syncookies 2021-09-01 12:02:19 +02:00
pf_table.c pf: Remove unneeded NULL check 2021-07-08 10:32:33 +02:00
pf.c pf: always log nat rule and do it pre-rewrite 2021-09-18 13:43:41 +02:00
pf.h pf: import pf_set_protostate() from OpenBSD 2021-09-01 12:02:19 +02:00