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
F166291162: D7649.diff
Wed, Aug 12, 5:13 PM
Unknown Object (File)
Mon, Aug 10, 10:39 AM
Unknown Object (File)
Mon, Aug 10, 10:32 AM
Unknown Object (File)
Sat, Jul 25, 9:12 PM
Unknown Object (File)
Sat, Jul 25, 2:55 PM
Unknown Object (File)
Fri, Jul 17, 2:56 PM
Unknown Object (File)
Jul 5 2026, 3:30 AM
Unknown Object (File)
Jul 3 2026, 7: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.