aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/infiniband/core/cm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/core/cm.c b/drivers/infiniband/core/cm.c
index 42a7a9bae44e..4104ea2427c2 100644
--- a/drivers/infiniband/core/cm.c
+++ b/drivers/infiniband/core/cm.c
@@ -889,6 +889,8 @@ retest:
889 break; 889 break;
890 case IB_CM_ESTABLISHED: 890 case IB_CM_ESTABLISHED:
891 spin_unlock_irq(&cm_id_priv->lock); 891 spin_unlock_irq(&cm_id_priv->lock);
892 if (cm_id_priv->qp_type == IB_QPT_XRC_TGT)
893 break;
892 ib_send_cm_dreq(cm_id, NULL, 0); 894 ib_send_cm_dreq(cm_id, NULL, 0);
893 goto retest; 895 goto retest;
894 case IB_CM_DREQ_SENT: 896 case IB_CM_DREQ_SENT: