]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/vmw_pvrdma: Fix memory leak on pvrdma_pci_remove
authorKamal Heib <kamalheib1@gmail.com>
Wed, 3 Apr 2019 13:52:54 +0000 (16:52 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 8 Apr 2019 16:04:46 +0000 (13:04 -0300)
commit78522e2a6b8154ce34b1c54675a02f7ac13306c9
tree0d96dde77c136f34ad6dcf7f40ad578c4111947b
parentf3972ee215e58d7bac2597e5d8803294f56cdeaf
RDMA/vmw_pvrdma: Fix memory leak on pvrdma_pci_remove

Make sure to free the DSR on pvrdma_pci_remove() to avoid the memory leak.

Fixes: 65cfc2528fa1 ("IB: Add vmw_pvrdma driver")
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Acked-by: Adit Ranadive <aditr@vmware.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c