]> asedeno.scripts.mit.edu Git - linux.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)
commitea7a5c706fa49273cf6d1d9def053ecb50db2076
tree0d96dde77c136f34ad6dcf7f40ad578c4111947b
parent1abe186ed8a6593069bc122da55fc684383fdc1c
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: 29c8d9eba550 ("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