[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <84087586-d5fc-3115-4b16-93c75e411c59@gmail.com>
Date: Fri, 5 May 2017 14:08:31 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Felipe Balbi <balbi@...nel.org>,
Peter Chen <peter.chen@....com>, Roger Quadros <rogerq@...com>,
Alan Stern <stern@...land.harvard.edu>,
Mathias Nyman <mathias.nyman@...ux.intel.com>,
Javier Martinez Canillas <javier@....samsung.com>,
Baoyou Xie <baoyou.xie@...aro.org>,
Sekhar Nori <nsekhar@...com>, William wu <wulf@...k-chips.com>,
Arnd Bergmann <arnd@...db.de>,
Chris Bainbridge <chris.bainbridge@...il.com>,
Wolfram Sang <wsa-dev@...g-engineering.com>,
Krzysztof Opasiak <k.opasiak@...sung.com>,
Felix Hädicke <felixhaedicke@....de>,
Colin Ian King <colin.king@...onical.com>,
"open list:USB SUBSYSTEM" <linux-usb@...r.kernel.org>,
clemens@...isch.de, maksim.salau@...il.com
Subject: Re: [PATCH v3 0/2] usb: Check for DMA capable buffer sanity
On 04/25/2017 05:56 PM, Florian Fainelli wrote:
> Changes in v3:
>
> - added check in usb_gadget_map_request_by_dev (Felipe), new patch
> - improved commit message description (Clemens)
> - added additiona checks for urb->setup_packet (Alan)
>
> Changes in v2:
>
> - moved the check from usb_start_wait_urb() to usb_hcd_map_urb_for_dma()
Is this version looking good now? Thanks!
>
> Florian Fainelli (2):
> usb: core: Check URB setup_packet and transfer_buffer sanity
> usb: udc: core: Error if req->buf is either from vmalloc or stack
>
> drivers/usb/core/hcd.c | 12 ++++++++++++
> drivers/usb/gadget/udc/core.c | 9 +++++++++
> 2 files changed, 21 insertions(+)
>
--
Florian
Powered by blists - more mailing lists