diff options
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/core/cm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/infiniband/core/cm.c b/drivers/infiniband/core/cm.c index 9135a8c1d4ac..9820c67ba47d 100644 --- a/drivers/infiniband/core/cm.c +++ b/drivers/infiniband/core/cm.c | |||
@@ -2808,9 +2808,8 @@ static int cm_sidr_req_handler(struct cm_work *work) | |||
2808 | sidr_req_msg->service_id, | 2808 | sidr_req_msg->service_id, |
2809 | sidr_req_msg->private_data); | 2809 | sidr_req_msg->private_data); |
2810 | if (!cur_cm_id_priv) { | 2810 | if (!cur_cm_id_priv) { |
2811 | rb_erase(&cm_id_priv->sidr_id_node, &cm.remote_sidr_table); | ||
2812 | spin_unlock_irq(&cm.lock); | 2811 | spin_unlock_irq(&cm.lock); |
2813 | /* todo: reply with no match */ | 2812 | cm_reject_sidr_req(cm_id_priv, IB_SIDR_UNSUPPORTED); |
2814 | goto out; /* No match. */ | 2813 | goto out; /* No match. */ |
2815 | } | 2814 | } |
2816 | atomic_inc(&cur_cm_id_priv->refcount); | 2815 | atomic_inc(&cur_cm_id_priv->refcount); |