aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-09-18 09:42:59 -0400
committerDavid S. Miller <davem@davemloft.net>2010-09-19 14:59:44 -0400
commitf4fa7f3807d41b78056c6648b04bfadd737df21e (patch)
tree0fd804391277b64143f021bd6038c4c6186b3c57 /net
parent9b9d2e00bfa592aceda7b43da76c670df61faa97 (diff)
rds: double unlock in rds_ib_cm_handle_connect()
We unlock after we goto out. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/rds/ib_cm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/rds/ib_cm.c b/net/rds/ib_cm.c
index bc3dbc1ba61f..ee369d201a65 100644
--- a/net/rds/ib_cm.c
+++ b/net/rds/ib_cm.c
@@ -521,7 +521,6 @@ int rds_ib_cm_handle_connect(struct rdma_cm_id *cm_id,
521 err = rds_ib_setup_qp(conn); 521 err = rds_ib_setup_qp(conn);
522 if (err) { 522 if (err) {
523 rds_ib_conn_error(conn, "rds_ib_setup_qp failed (%d)\n", err); 523 rds_ib_conn_error(conn, "rds_ib_setup_qp failed (%d)\n", err);
524 mutex_unlock(&conn->c_cm_lock);
525 goto out; 524 goto out;
526 } 525 }
527 526