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
F136005699: D50029.id.diff
Sat, Nov 15, 12:34 AM
Unknown Object (File)
Wed, Nov 12, 8:51 PM
Unknown Object (File)
Mon, Nov 10, 2:39 AM
Unknown Object (File)
Sun, Nov 9, 3:06 AM
Unknown Object (File)
Fri, Nov 7, 11:43 PM
Unknown Object (File)
Fri, Nov 7, 10:51 PM
Unknown Object (File)
Fri, Oct 31, 9:15 PM
Unknown Object (File)
Sat, Oct 25, 8:50 AM
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