RE: VME-driver: Memory leak in module 'vme.c', function 'vme_dma_free'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Mon, Jun 03, 2013 at 09:57:22AM +0000, De Roo, Steven wrote:
> > Dear Martyn,
> > 
> > I think there is a memory leak in module 'vme.c', function 'vme_dma_free'.
> > 'kfree(resource)' is not called after unlocking the mutex...
> > 
> > I have no experience in patching Linux stuff, so would you please be 
> > so kind to patch this ?
>
> As you already fixed this, why not send in a patch for it, after reading Documentation/SubmittingPatches, so we can properly credit you with the fix?
>
> thanks,
>
> greg k-h

Dear Greg,

To be honest, finding this leak was already at the limit of my knowledge/experience with Linux & drivers.
I truly hope that somebody can review my input, 
and that a patch will be submitted if appropriate.

Kind regards,
Steven
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux