freebsd-skq/sys/netpfil/pf
Kristof Provost ea36212bf5 pf: Don't hold PF_RULES_WLOCK during copyin() on DIOCRCLRTSTATS
We cannot hold a non-sleepable lock during copyin(). This means we can't
safely count the table, so instead we fall back to the pf_ioctl_maxcount
used in other ioctls to protect against overly large requests.

Reported by:	syzbot+81e380344d4a6c37d78a@syzkaller.appspotmail.com
MFC after:	1 week
2021-01-13 19:49:42 +01: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: Split pfi_kif into a user and kernel space structure 2021-01-05 23:35:37 +01:00
in4_cksum.c SPDX: license IDs for some ISC-related files. 2017-12-08 15:57:29 +00:00
pf_altq.h Extended pf(4) ioctl interface and pfctl(8) to allow bandwidths of 2018-08-22 19:38:48 +00:00
pf_if.c pf: Copy kif flags to userspace 2021-01-07 22:26:05 +01:00
pf_ioctl.c pf: Don't hold PF_RULES_WLOCK during copyin() on DIOCRCLRTSTATS 2021-01-13 19:49:42 +01:00
pf_lb.c pf: Split pfi_kif into a user and kernel space structure 2021-01-05 23:35:37 +01:00
pf_mtag.h
pf_norm.c pf: Split pfi_kif into a user and kernel space structure 2021-01-05 23:35:37 +01: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: quiet debugging printfs 2021-01-11 22:30:44 +01:00
pf_table.c pf: Split pf_rule into kernel and user space versions 2021-01-05 23:35:36 +01:00
pf.c pf: Convert pfi_kkif to use counter_u64 2021-01-05 23:35:37 +01:00
pf.h pf: Split pfi_kif into a user and kernel space structure 2021-01-05 23:35:37 +01:00