diff options
| -rw-r--r-- | net/rds/ib_cm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/rds/ib_cm.c b/net/rds/ib_cm.c index eea1d8611b20..13b38ad0fa4a 100644 --- a/net/rds/ib_cm.c +++ b/net/rds/ib_cm.c | |||
| @@ -547,7 +547,7 @@ static int rds_ib_setup_qp(struct rds_connection *conn) | |||
| 547 | rdsdebug("conn %p pd %p cq %p %p\n", conn, ic->i_pd, | 547 | rdsdebug("conn %p pd %p cq %p %p\n", conn, ic->i_pd, |
| 548 | ic->i_send_cq, ic->i_recv_cq); | 548 | ic->i_send_cq, ic->i_recv_cq); |
| 549 | 549 | ||
| 550 | return ret; | 550 | goto out; |
| 551 | 551 | ||
| 552 | sends_out: | 552 | sends_out: |
| 553 | vfree(ic->i_sends); | 553 | vfree(ic->i_sends); |
| @@ -572,6 +572,7 @@ send_cq_out: | |||
| 572 | ic->i_send_cq = NULL; | 572 | ic->i_send_cq = NULL; |
| 573 | rds_ibdev_out: | 573 | rds_ibdev_out: |
| 574 | rds_ib_remove_conn(rds_ibdev, conn); | 574 | rds_ib_remove_conn(rds_ibdev, conn); |
| 575 | out: | ||
| 575 | rds_ib_dev_put(rds_ibdev); | 576 | rds_ib_dev_put(rds_ibdev); |
| 576 | 577 | ||
| 577 | return ret; | 578 | return ret; |
