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
F135361824: D50029.diff
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
Unknown Object (File)
Fri, Oct 24, 1:08 PM
Unknown Object (File)
Oct 5 2025, 6:52 AM
Unknown Object (File)
Oct 4 2025, 6:10 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