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
F109253226: D7649.diff
Sun, Feb 2, 3:58 PM
Unknown Object (File)
Fri, Jan 31, 6:47 AM
Unknown Object (File)
Thu, Jan 23, 2:12 PM
Unknown Object (File)
Nov 9 2024, 8:38 AM
Unknown Object (File)
Nov 3 2024, 3:27 PM
Unknown Object (File)
Oct 1 2024, 5:32 AM
Unknown Object (File)
Sep 30 2024, 8:08 AM
Unknown Object (File)
Sep 19 2024, 12:23 AM
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.