Re: [PATCH] ath6kl: remove incorrect reset_resume handler

2014-11-03 Thread Kalle Valo
Alexey Khoroshilov 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. > >

Re: [PATCH] ath6kl: remove incorrect reset_resume handler

2014-11-03 Thread Kalle Valo
Alexey Khoroshilov khoroshi...@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

[PATCH] ath6kl: remove incorrect reset_resume handler

2014-10-24 Thread Alexey Khoroshilov
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

[PATCH] ath6kl: remove incorrect reset_resume handler

2014-10-24 Thread Alexey Khoroshilov
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