Re: [PATCH] bfa: fix leak of bfad_im_port_index on module unload

2015-06-12 Thread Johannes Thumshirn
On Fri, Jun 12, 2015 at 01:50:45AM +0300, Alexey Khoroshilov wrote: > Resources allocated within bfad_im_port_index idr are not deallocated > on module unload. The patch adds idr_destroy() in exit function. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alex

[PATCH] bfa: fix leak of bfad_im_port_index on module unload

2015-06-11 Thread Alexey Khoroshilov
Resources allocated within bfad_im_port_index idr are not deallocated on module unload. The patch adds idr_destroy() in exit function. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/scsi/bfa/bfad_im.c | 2 ++ 1 file changed, 2 insert