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)
Mon, Nov 24, 11:45 AM
Unknown Object (File)
Mon, Nov 10, 3:39 AM
Unknown Object (File)
Thu, Oct 30, 5:34 PM
Unknown Object (File)
Thu, Oct 30, 5:34 PM
Unknown Object (File)
Thu, Oct 30, 5:34 PM
Unknown Object (File)
Thu, Oct 30, 12:58 PM
Unknown Object (File)
Oct 5 2025, 2:26 AM
Unknown Object (File)
Sep 28 2025, 1:29 PM
Subscribers

Details

Summary

Change to M_WAITOK and move outside the mutex

Test Plan

Tested using bnxt driver, universe kernel build

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.