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

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

 



Hi,

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> writes:
> On Mon, Apr 10, 2017 at 05:15:13PM +0300, Felipe Balbi wrote:
>> From: Janusz Dziedzic <januszx.dziedzic@xxxxxxxxx>
>> 
>> commit de288e36fe33f7e06fa272bc8e2f85aa386d99aa 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.
>
> This patch only applied to 4.10-stable.  It should go also to at least
> 4.4 and 4.9-stable, but it does not apply.  Can you provide a backport
> for those kernels as well?

coming shortly

-- 
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]