]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: No need to M_NOWAIT in DIOCRSETTFLAGS
authorkp <kp@FreeBSD.org>
Thu, 18 Apr 2019 11:37:44 +0000 (11:37 +0000)
committerkp <kp@FreeBSD.org>
Thu, 18 Apr 2019 11:37:44 +0000 (11:37 +0000)
commitd88fa777c9ce1e635d8dc1458ac115fdca918d32
tree7556ec17779725d4d5f801523d927e2a9e3c670f
parent495b8cbdc71852e16c68c6e82a5508de5d38f5a9
pf: No need to M_NOWAIT in DIOCRSETTFLAGS

Now that we don't hold a lock during DIOCRSETTFLAGS memory allocation we can
use M_WAITOK.

MFC after: 1 week
Event: Aberdeen hackathon 2019
Pointed out by: glebius@
sys/netpfil/pf/pf_ioctl.c