Page MenuHomeFreeBSD

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

Authored by adrian on Fri, Apr 25, 6:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 5, 11:00 PM
Unknown Object (File)
Sun, May 4, 2:49 AM
Unknown Object (File)
Sat, May 3, 11:56 AM
Unknown Object (File)
Sat, Apr 26, 5:55 PM
Unknown Object (File)
Sat, Apr 26, 11:41 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 63734
Build 60618: arc lint + arc unit