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

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

 



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 ?

Kind regards,
Steven De Roo


PS: I found out about this after performing lots of DMA-transfers,
which finally lead to out-of-memory problems and a system freeze...
Using 'slabinfo', I can now see that the problem is gone with this fix.
_______________________________________________
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