Re: [PATCH] USB: OHCI: Fix race between ED unlink and URB submission

2015-06-30 Thread Alan Stern
On Tue, 30 Jun 2015, Sergei Shtylyov wrote: > Hello. > > On 06/30/2015 06:25 PM, Alan Stern wrote: > > > This patch fixes a bug introduced by commit 977dcfdc6031 ("USB: OHCI: > > don't lose track of EDs when a controller dies"). The commit changed > > ed_state from ED_UNLINK to ED_IDLE too earl

Re: [PATCH] USB: OHCI: Fix race between ED unlink and URB submission

2015-06-30 Thread Sergei Shtylyov
Hello. On 06/30/2015 06:25 PM, Alan Stern wrote: This patch fixes a bug introduced by commit 977dcfdc6031 ("USB: OHCI: don't lose track of EDs when a controller dies"). The commit changed ed_state from ED_UNLINK to ED_IDLE too early, before finish_urb() had been called. The user-visible conse