]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: use M_WAITOK where possible
authorKristof Provost <kp@FreeBSD.org>
Wed, 9 Jun 2021 12:00:07 +0000 (14:00 +0200)
committerKristof Provost <kp@FreeBSD.org>
Thu, 17 Jun 2021 12:38:08 +0000 (14:38 +0200)
commit3a57bb60f4ad6afdfc0bbf833e7b6cf62a2038e8
tree0708077e66ea7780885390049318bf8b5efca846
parent932531232a9d97aad2e3302a365b85bee59a8db5
pf: use M_WAITOK where possible

In the ioctl path use M_WAITOK allocations whereever possible. These are
less sensitive to memory pressure, and ioctl requests have no hard
deadlines.

Reviewed by: donner
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D30702

(cherry picked from commit ea21980a3facfed4c2c6fd10d0f16276564fb540)
sys/netpfil/pf/pf_ioctl.c