Re: [PATCH] brcmfmac: kill URB when request timed out

2014-11-14 Thread Arend van Spriel
On 13-11-14 03:33, Mathy Vanhoef wrote: Kill the submitted URB in brcmf_usb_dl_cmd if the request timed out. This assures the URB is never submitted twice. It also prevents a possible use-after-free of the URB transfer buffer if a timeout occurs. Acked-by: Arend van Spriel ar...@broadcom.com

[PATCH] brcmfmac: kill URB when request timed out

2014-11-12 Thread Mathy Vanhoef
Kill the submitted URB in brcmf_usb_dl_cmd if the request timed out. This assures the URB is never submitted twice. It also prevents a possible use-after-free of the URB transfer buffer if a timeout occurs. Signed-off-by: Mathy Vanhoef vanho...@gmail.com --- For a discussion about this patch and