Page MenuHomeFreeBSD

ipfw: do not use sleepable malloc in callout context.
ClosedPublic

Authored by ae on Apr 15 2021, 12:35 PM.
Tags
None
Referenced Files
F117304520: D29772.diff
Fri, May 16, 2:43 PM
Unknown Object (File)
Sun, Apr 27, 9:36 AM
Unknown Object (File)
Sat, Apr 19, 1:34 PM
Unknown Object (File)
Thu, Apr 17, 6:36 PM
Unknown Object (File)
Apr 15 2025, 9:37 PM
Unknown Object (File)
Apr 14 2025, 12:42 PM
Unknown Object (File)
Mar 26 2025, 1:37 AM
Unknown Object (File)
Mar 26 2025, 12:32 AM

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ae held this revision as a draft.
ae published this revision for review.Apr 15 2021, 12:37 PM
ae edited the summary of this revision. (Show Details)
ae added reviewers: network, melifaro, kevans.
This revision is now accepted and ready to land.Apr 15 2021, 1:08 PM

Thank you for this patch.
I'm applied this patch to 3a248c844 and it works fine.

freebsd_igalic.co added inline comments.
sys/netpfil/ipfw/ip_fw_dynamic.c
3224

why is it okay to wait here

sys/netpfil/ipfw/ip_fw_dynamic.c
3224

It is initialization code, it is called from userland when you are doing kldload, user can wait.