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
F169587280: D23430.id.diff
Wed, Sep 2, 12:07 AM
F169560298: D23430.id67518.diff
Tue, Sep 1, 10:23 PM
Unknown Object (File)
Tue, Sep 1, 5:33 AM
Unknown Object (File)
Tue, Sep 1, 4:01 AM
Unknown Object (File)
Mon, Aug 31, 10:28 AM
Unknown Object (File)
Mon, Aug 31, 12:01 AM
Unknown Object (File)
Sun, Aug 30, 9:23 PM
Unknown Object (File)
Sat, Aug 29, 5:00 AM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 29046

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.