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, Mar 23, 12:25 AM
Unknown Object (File)
Mon, Mar 23, 12:25 AM
Unknown Object (File)
Fri, Mar 20, 5:42 AM
Unknown Object (File)
Fri, Mar 20, 5:42 AM
Unknown Object (File)
Tue, Mar 10, 8:47 AM
Unknown Object (File)
Feb 17 2026, 8:48 PM
Unknown Object (File)
Feb 16 2026, 3:01 AM
Unknown Object (File)
Feb 12 2026, 12:41 AM
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.