[ldv-project] [PATCH] ath6kl: remove incorrect reset_resume	handler
    Kalle Valo 
    kvalo at qca.qualcomm.com
       
    Tue Nov  4 03:02:58 MSK 2014
    
    
  
Alexey Khoroshilov <khoroshilov at ispras.ru> writes:
> Existing implementation of reset_resume handler just calls
> ath6kl_usb_remove() that deallocates all resources.
> It can lead to double free, etc. on disconnect.
>
> The patch removes reset_resume handler,
> so usb core could conservatively reset the driver.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Alexey Khoroshilov <khoroshilov at ispras.ru>
Thanks, applied.
-- 
Kalle Valo
    
    
More information about the ldv-project
mailing list