Page MenuHomeFreeBSD

e6000sw: unlock the driver lock in the error path during attach
ClosedPublic

Authored by adrian on Apr 25 2025, 6:39 PM.
Tags
None
Referenced Files
F156789979: D50029.diff
Sat, May 16, 9:57 AM
Unknown Object (File)
Thu, May 14, 7:29 PM
Unknown Object (File)
Mon, Apr 27, 12:00 PM
Unknown Object (File)
Mon, Apr 27, 11:33 AM
Unknown Object (File)
Sun, Apr 19, 9:48 AM
Unknown Object (File)
Sun, Apr 19, 1:24 AM
Unknown Object (File)
Sun, Apr 19, 1:16 AM
Unknown Object (File)
Fri, Apr 17, 12:13 PM
Subscribers

Details

Summary

The driver sleep lock was being held during most of the error paths,
and not unlocking it will panic the kernel during detach. So, fix it.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable