[PATCH qperf] Destroy server's QP in CM mode.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Ram Amrani <Ram.Amrani@xxxxxxxxxx>
---
 src/rdma.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/rdma.c b/src/rdma.c
index 0d370bd..117b429 100644
--- a/src/rdma.c
+++ b/src/rdma.c
@@ -1937,6 +1937,7 @@ cm_close(DEVICE *dev)
             error(SYS, "rdma_disconnect failed");
     cm_expect_event(dev, RDMA_CM_EVENT_DISCONNECTED);
     cm_ack_event(dev);
+    rdma_destroy_qp(dev->cm.id);
     rdma_destroy_id(dev->cm.id);
     rdma_destroy_event_channel(dev->cm.channel);
 }
-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux