Commit f4fa7f3807d41b78056c6648b04bfadd737df21e

Authored by Dan Carpenter
Committed by David S. Miller
1 parent 9b9d2e00bf

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>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

... ... @@ -521,7 +521,6 @@
521 521 err = rds_ib_setup_qp(conn);
522 522 if (err) {
523 523 rds_ib_conn_error(conn, "rds_ib_setup_qp failed (%d)\n", err);
524   - mutex_unlock(&conn->c_cm_lock);
525 524 goto out;
526 525 }
527 526