mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-06 13:23:18 +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);
|
||||
if (err) {
|
||||
rds_ib_conn_error(conn, "rds_ib_setup_qp failed (%d)\n", err);
|
||||
mutex_unlock(&conn->c_cm_lock);
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user