Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1636731

Re: [PATCH v3 0/2] usb: Check for DMA capable buffer sanity

From Florian Fainelli <f.fainelli@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 0/2] usb: Check for DMA capable buffer sanity
Date 2017-05-05 23:10 +0200
Message-ID <tDSE9-77p-7@gated-at.bofh.it> (permalink)
References <tAjtf-3t4-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/2] usb: Check for DMA capable buffer sanity Florian Fainelli <f.fainelli@gmail.com> - 2017-04-26 03:00 +0200
  [PATCH v3 1/2] usb: core: Check URB setup_packet and transfer_buffer sanity Florian Fainelli <f.fainelli@gmail.com> - 2017-04-26 03:00 +0200
  [PATCH v3 2/2] usb: udc: core: Error if req->buf is either from vmalloc or stack Florian Fainelli <f.fainelli@gmail.com> - 2017-04-26 03:10 +0200
  Re: [PATCH v3 0/2] usb: Check for DMA capable buffer sanity Florian Fainelli <f.fainelli@gmail.com> - 2017-05-05 23:10 +0200

csiph-web