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
F176579029: D29772.id87537.diff
Mon, Oct 19, 11:55 PM
F176578153: D29772.id87481.diff
Mon, Oct 19, 11:47 PM
F176577834: D29772.id87482.diff
Mon, Oct 19, 11:44 PM
Unknown Object (File)
Sep 11 2026, 3:34 AM
Unknown Object (File)
Sep 4 2026, 8:13 PM
Unknown Object (File)
Sep 4 2026, 7:39 AM
Unknown Object (File)
Sep 3 2026, 8:01 PM
Unknown Object (File)
Sep 3 2026, 4:32 PM

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38591
Build 35480: arc lint + arc unit

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.