summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/iwcm.h
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2016-07-29 11:00:54 -0700
committerDoug Ledford <dledford@redhat.com>2016-08-02 13:15:17 -0400
commitad61a4c7a9b7ae7e10ca93b0d2b357e02c208e75 (patch)
tree4de771678e532015a7793120a386d2e5bab372c8 /drivers/infiniband/core/iwcm.h
parent1b1a889dbb9f007bc8fc916f172701cd8b1f7098 (diff)
downloadlinux-ad61a4c7a9b7ae7e10ca93b0d2b357e02c208e75.tar.bz2
iw_cxgb4: don't block in destroy_qp awaiting the last deref
Blocking in c4iw_destroy_qp() causes a deadlock when apps destroy a qp or disconnect a cm_id from their cm event handler function. There is no need to block here anyway, so just replace the refcnt atomic with a kref object and free the memory on the last put. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/iwcm.h')
0 files changed, 0 insertions, 0 deletions