Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76846
b: refs/heads/master
c: 0c86e28
h: refs/heads/master
v: v3
  • Loading branch information
Hoang-Nam Nguyen authored and Roland Dreier committed Jan 25, 2008
1 parent 0a94a91 commit dcb7e09
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6410627eb9804e541b83d220c8e914ce64475b31
refs/heads/master: 0c86e280fe8a08d4ae30b77e46a1e7da28d756c9
5 changes: 4 additions & 1 deletion trunk/drivers/infiniband/hw/ehca/ehca_qp.c
Original file line number Diff line number Diff line change
Expand Up @@ -769,12 +769,15 @@ static struct ehca_qp *internal_create_qp(
if (ib_copy_to_udata(udata, &resp, sizeof resp)) {
ehca_err(pd->device, "Copy to udata failed");
ret = -EINVAL;
goto create_qp_exit4;
goto create_qp_exit5;
}
}

return my_qp;

create_qp_exit5:
ehca_cq_unassign_qp(my_qp->send_cq, my_qp->real_qp_num);

create_qp_exit4:
if (HAS_RQ(my_qp))
ipz_queue_dtor(my_pd, &my_qp->ipz_rqueue);
Expand Down

0 comments on commit dcb7e09

Please sign in to comment.