On Tue, 9 Sep 2014, Alan Stern wrote:

> The fix is almost correct.  Take the reference when hub_events removes 
> the hub from hub_event_list, while the hub_event_lock is still held.  
> That way the get and put occur in the same subroutine, and there's 
> opportunity for them to become unbalanced.

I meant "no opportunity".

> Also, for the sake of good form, do the put calls in the opposite order 
> of the get calls.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to