Page MenuHomeFreeBSD

sound: Use bus_child_deleted methods to free ivars for children
ClosedPublic

Authored by jhb on Oct 31 2024, 8:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Feb 3, 2:19 PM
Unknown Object (File)
Wed, Jan 22, 3:07 PM
Unknown Object (File)
Sat, Jan 18, 7:36 AM
Unknown Object (File)
Fri, Jan 17, 2:39 PM
Unknown Object (File)
Dec 12 2024, 6:30 AM
Unknown Object (File)
Dec 11 2024, 7:39 PM
Unknown Object (File)
Dec 9 2024, 6:28 AM
Unknown Object (File)
Nov 16 2024, 5:31 PM
Subscribers
None

Details

Summary

Note that hdsp and hdspe were just leaking the ivars on detach
previously.

While here, use M_WAITOK to allocate ivars since attach routines are
sleepable. hdsp and hdspe were using M_NOWAIT without checking the
return value.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 60303
Build 57187: arc lint + arc unit