summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/i40iw/i40iw_utils.c
diff options
context:
space:
mode:
authorShiraz Saleem <shiraz.saleem@intel.com>2017-06-23 16:03:58 -0500
committerDoug Ledford <dledford@redhat.com>2017-07-20 11:20:49 -0400
commit6327cb09dfda103f7255ef218ac18697b293554a (patch)
tree3332f3dee8e9388d2043cf9e4fc7356b62facc60 /drivers/infiniband/hw/i40iw/i40iw_utils.c
parent6c1d94de4e75160d3ea5af3bf51d290341db1d44 (diff)
downloadlinux-6327cb09dfda103f7255ef218ac18697b293554a.tar.bz2
i40iw: Release cm_id ref on PCI function reset
On PCI function reset, cm_id reference is not released which causes an application hang, as it waits on the cm_id to be released on rdma_destroy. To fix this, call i40iw_cm_disconn during a PCI function reset to clean-up resources and release cm_id reference. Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Henry Orosco <henry.orosco@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/i40iw/i40iw_utils.c')
0 files changed, 0 insertions, 0 deletions