diff options
author | Isaku Yamahata <yamahata@private.email.ne.jp> | 2013-08-13 11:12:43 +0900 |
---|---|---|
committer | Juan Quintela <quintela@trasno.org> | 2013-09-24 13:22:50 +0200 |
commit | 5a91337cdf343b94474f8bbecab85a8c00f6d2a1 (patch) | |
tree | 090e8534de0cbd1caba97345396aef8088b92a44 /readline.c | |
parent | 6cd0beda2c3c21fd7575e944764f392be7ef50c1 (diff) |
rdma: clean up of qemu_rdma_cleanup()
- It can't be determined by RDMAContext::cm_id != NULL if the connection
is established or not.
- RDMAContext::cm_id is leaked and not destroyed because it is set to NULL
too early.
- RDMAContext::qp is created by rdma_create_qp() so that it should be destroyed
by rdma_destroy_qp(). not ibv_destroy_qp()
Cc: Michael R. Hines <mrhines@us.ibm.com>
Signed-off-by: Isaku Yamahata <yamahata@private.email.ne.jp>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'readline.c')
0 files changed, 0 insertions, 0 deletions