]> git.baikalelectronics.ru Git - kernel.git/commit
IB/vmw_pvrdma: Fix incorrect cleanup on pvrdma_pci_probe error path
authorAdit Ranadive <aditr@vmware.com>
Thu, 19 Jan 2017 21:20:40 +0000 (13:20 -0800)
committerDoug Ledford <dledford@redhat.com>
Tue, 24 Jan 2017 19:15:28 +0000 (14:15 -0500)
commitad93c5e6ee516866f027e1839daebbcc5d36496a
tree6f602d6cba141565ed429a2d1100917294176ec0
parent4ea3fc4984c49a431ad45e8647ca1b89c69a38d4
IB/vmw_pvrdma: Fix incorrect cleanup on pvrdma_pci_probe error path

If the interrupt allocation failed we should start freeing the CQ rings
rather than unregistering the netdev notifier.

Fixes: 65cfc2528fa1 ("IB: Add vmw_pvrdma driver")
Signed-off-by: Adit Ranadive <aditr@vmware.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c