Make sure that the softc doesn't become NULL in between the checks.
Sponsored by: The FreeBSD Foundation
MFC after; 1 day
Differential D44991
sound: Wrap dsp_clone() and mixer_clone() with bus_topo_lock() christos on Apr 28 2024, 3:46 PM. Authored by Tags None Referenced Files
Subscribers
Details Make sure that the softc doesn't become NULL in between the checks. Sponsored by: The FreeBSD Foundation
Diff Detail
Event TimelineComment Actions
Well, the problem is that the softc might be freed in between the checks. |