Page MenuHomeFreeBSD

Fix bug where malloc(.., M_NOWAIT) return value is not checked
ClosedPublic

Authored by sbruno on Aug 25 2016, 11:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 28, 8:14 AM
Unknown Object (File)
Thu, Dec 25, 10:49 PM
Unknown Object (File)
Dec 1 2025, 12:33 AM
Unknown Object (File)
Nov 27 2025, 11:57 AM
Unknown Object (File)
Nov 24 2025, 11:45 AM
Unknown Object (File)
Nov 10 2025, 3:39 AM
Unknown Object (File)
Oct 30 2025, 5:34 PM
Unknown Object (File)
Oct 30 2025, 5:34 PM
Subscribers

Details

Summary

Change to M_WAITOK and move outside the mutex

Test Plan

Tested using bnxt driver, universe kernel build

Diff Detail

Event Timeline

shurd retitled this revision from to Fix bug where malloc(.., M_NOWAIT) return value is not checked.
shurd updated this object.
shurd edited the test plan for this revision. (Show Details)
shurd added reviewers: kmacy, scottl.

So, it looks like this should be committed. Objections?

sbruno edited edge metadata.
This revision is now accepted and ready to land.Oct 9 2016, 11:50 PM
sbruno edited reviewers, added: shurd; removed: sbruno.
This revision now requires review to proceed.Oct 11 2016, 2:07 PM
This revision was automatically updated to reflect the committed changes.