diff options
| -rw-r--r-- | net/rds/ib_cm.c | 1 | ||||
| -rw-r--r-- | net/rds/iw_cm.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/net/rds/ib_cm.c b/net/rds/ib_cm.c index 10ed0d55f759..f68832798db2 100644 --- a/net/rds/ib_cm.c +++ b/net/rds/ib_cm.c | |||
| @@ -475,6 +475,7 @@ int rds_ib_cm_handle_connect(struct rdma_cm_id *cm_id, | |||
| 475 | err = rds_ib_setup_qp(conn); | 475 | err = rds_ib_setup_qp(conn); |
| 476 | if (err) { | 476 | if (err) { |
| 477 | rds_ib_conn_error(conn, "rds_ib_setup_qp failed (%d)\n", err); | 477 | rds_ib_conn_error(conn, "rds_ib_setup_qp failed (%d)\n", err); |
| 478 | mutex_unlock(&conn->c_cm_lock); | ||
| 478 | goto out; | 479 | goto out; |
| 479 | } | 480 | } |
| 480 | 481 | ||
diff --git a/net/rds/iw_cm.c b/net/rds/iw_cm.c index a9d951b4fbae..b5dd6ac39be8 100644 --- a/net/rds/iw_cm.c +++ b/net/rds/iw_cm.c | |||
| @@ -452,6 +452,7 @@ int rds_iw_cm_handle_connect(struct rdma_cm_id *cm_id, | |||
| 452 | err = rds_iw_setup_qp(conn); | 452 | err = rds_iw_setup_qp(conn); |
| 453 | if (err) { | 453 | if (err) { |
| 454 | rds_iw_conn_error(conn, "rds_iw_setup_qp failed (%d)\n", err); | 454 | rds_iw_conn_error(conn, "rds_iw_setup_qp failed (%d)\n", err); |
| 455 | mutex_unlock(&conn->c_cm_lock); | ||
| 455 | goto out; | 456 | goto out; |
| 456 | } | 457 | } |
| 457 | 458 | ||
