From: Dan Carpenter Date: Sat, 18 Sep 2010 13:42:59 +0000 (+0000) Subject: rds: double unlock in rds_ib_cm_handle_connect() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f4fa7f3807d41b78056c6648b04bfadd737df21e;p=openwrt%2Fstaging%2Fblogic.git rds: double unlock in rds_ib_cm_handle_connect() We unlock after we goto out. Signed-off-by: Dan Carpenter Signed-off-by: David S. Miller --- 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, 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; }