Page MenuHomeFreeBSD

libusb: libusb10_hotplug: Remove lock leaks, locked sleep
ClosedPublic

Authored by hselasky on Jan 30 2020, 4:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 6, 5:33 AM
Unknown Object (File)
Sun, Sep 6, 12:48 AM
Unknown Object (File)
Sat, Sep 5, 11:28 AM
Unknown Object (File)
Fri, Sep 4, 4:09 AM
Unknown Object (File)
Thu, Sep 3, 6:08 PM
Unknown Object (File)
Thu, Sep 3, 5:12 AM
Unknown Object (File)
Wed, Sep 2, 12:07 AM
Unknown Object (File)
Tue, Sep 1, 10:23 PM
Subscribers

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 29045
Build 27002: arc lint + arc unit

Event Timeline

Hi,

I think only the first chunk is needed.

--HPS

hselasky updated this revision to Diff 67517.
hselasky edited reviewers, added: cem; removed: hselasky.
hselasky edited the summary of this revision. (Show Details)

Hm, I don't understand where we unlock in the rest of the chunks without the changes. Maybe the breaks intentionally return a locked context, but the continues seem obviously wrong. I don't see an unlock in, e.g., libusb_hotplug_filter() which would make that safe.

This revision is now accepted and ready to land.Jan 30 2020, 5:28 PM
This revision was automatically updated to reflect the committed changes.