projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b9d2e0
)
rds: double unlock in rds_ib_cm_handle_connect()
author
Dan Carpenter
<error27@gmail.com>
Sat, 18 Sep 2010 13:42:59 +0000
(13:42 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sun, 19 Sep 2010 18:59:44 +0000
(11:59 -0700)
We unlock after we goto out.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib_cm.c
patch
|
blob
|
history
diff --git
a/net/rds/ib_cm.c
b/net/rds/ib_cm.c
index bc3dbc1ba61f38cb68a1e5cef1a466254bd52414..ee369d201a65891b8f8e3b562bf738067665df2f 100644
(file)
--- 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,
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;
}