Skip to content

Commit

Permalink
rds: double unlock in rds_ib_cm_handle_connect()
Browse files Browse the repository at this point in the history
We unlock after we goto out.

Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
error27 authored and davem330 committed Sep 19, 2010
1 parent 9b9d2e0 commit f4fa7f3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/rds/ib_cm.c
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,6 @@ int rds_ib_cm_handle_connect(struct rdma_cm_id *cm_id,
err = rds_ib_setup_qp(conn);
if (err) {
rds_ib_conn_error(conn, "rds_ib_setup_qp failed (%d)\n", err);
mutex_unlock(&conn->c_cm_lock);
goto out;
}

Expand Down

0 comments on commit f4fa7f3

Please sign in to comment.