HomeFreeBSD

pf: use M_WAITOK where possible

Description

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)

Details

Provenance
kpAuthored on Jun 9 2021, 12:00 PM
Reviewer
donner
Differential Revision
D30702: pf: use M_WAITOK where possible
Parents
rG932531232a9d: dummynet: free(NULL, M_DUMMYNET); is safe
Branches
Unknown
Tags
Unknown