Re: [RFT PATCH] xhci: Fix use-after-free regression in xhci clear hub TT implementation

2019-10-14 Thread Mathias Nyman
On 14.10.2019 13.16, Johan Hovold wrote: On Fri, Oct 11, 2019 at 03:58:42PM +0300, Mathias Nyman wrote: commit ef513be0a905 ("usb: xhci: Add Clear_TT_Buffer") schedules work to clear TT buffer, but causes a use-after-free regression at the same time Make sure hub_tt_work finishes before endpoin

Re: [RFT PATCH] xhci: Fix use-after-free regression in xhci clear hub TT implementation

2019-10-14 Thread Johan Hovold
On Fri, Oct 11, 2019 at 03:58:42PM +0300, Mathias Nyman wrote: > commit ef513be0a905 ("usb: xhci: Add Clear_TT_Buffer") schedules work > to clear TT buffer, but causes a use-after-free regression at the same time > > Make sure hub_tt_work finishes before endpoint is disabled, otherwise > the work