Re: [PATCH] usb: dwc3: gadget: delay unmap of bounced requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> writes:

> On Mon, Apr 10, 2017 at 04:48:41PM +0300, Felipe Balbi wrote:
>> From: Janusz Dziedzic <januszx.dziedzic@xxxxxxxxx>
>> 
>> commit d62145929992f331fdde924d5963ab49588ccc7d upstream.
>> 
>> In the case of bounced ep0 requests, we must delay DMA operation until
>> after ->complete() otherwise we might overwrite contents of req->buf.
>> 
>> This caused problems with RNDIS gadget.
>> 
>> Cc: <stable@xxxxxxxxxxxxxxx>
>> Fixes: d62145929992 ("usb: dwc3: gadget: always unmap EP0 requests")
>> Signed-off-by: Janusz Dziedzic <januszx.dziedzic@xxxxxxxxx>
>> Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx>
>> ---
>> 
>> Note that this commit needs to be backported to all kernels where
>> d62145929992 was backported.
>
> How can you backport this patch to everywhere it was backported to
> already?  :)
>
> I think one of the git commit ids is wrong here...

hah! nice catch. I'll fix and resend

-- 
balbi

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]