summaryrefslogtreecommitdiffstats
path: root/arch_init.c
diff options
context:
space:
mode:
authorPadmanabh Ratnakar2015-03-26 03:08:04 +0100
committerJuan Quintela2015-03-26 15:31:46 +0100
commit80b262e1439a22708e1c535b75363d4b90c3b41d (patch)
treeea10ce34bd5f5a8e12864f522163d4718c6b8695 /arch_init.c
parentAvoid crashing on multiple -incoming (diff)
downloadqemu-80b262e1439a22708e1c535b75363d4b90c3b41d.tar.gz
qemu-80b262e1439a22708e1c535b75363d4b90c3b41d.tar.xz
qemu-80b262e1439a22708e1c535b75363d4b90c3b41d.zip
rdma: Fix cleanup in error paths
As part of commit e325b49a320b493cc5d69e263751ff716dc458fe, order in which resources are destroyed was changed for fixing a seg fault. Due to this change, CQ will never get destroyed as CQ should be destroyed after QP destruction. Seg fault is caused improper cleanup when connection fails. Fixing cleanup after connection failure and order in which resources are destroyed in qemu_rdma_cleanup() routine. Signed-off-by: Meghana Cheripady <meghana.cheripady@emulex.com> Signed-off-by: Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'arch_init.c')
0 files changed, 0 insertions, 0 deletions