mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 15:58:47 +00:00
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>
This commit is contained in:
parent
9b9d2e00bf
commit
f4fa7f3807
@ -521,7 +521,6 @@ int rds_ib_cm_handle_connect(struct rdma_cm_id *cm_id,
|
|||||||
err = rds_ib_setup_qp(conn);
|
err = rds_ib_setup_qp(conn);
|
||||||
if (err) {
|
if (err) {
|
||||||
rds_ib_conn_error(conn, "rds_ib_setup_qp failed (%d)\n", err);
|
rds_ib_conn_error(conn, "rds_ib_setup_qp failed (%d)\n", err);
|
||||||
mutex_unlock(&conn->c_cm_lock);
|
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user