aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/infiniband/ulp/iser/iser_verbs.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/infiniband/ulp/iser/iser_verbs.c b/drivers/infiniband/ulp/iser/iser_verbs.c
index 993f0a8ff28f..d19cfe605ebb 100644
--- a/drivers/infiniband/ulp/iser/iser_verbs.c
+++ b/drivers/infiniband/ulp/iser/iser_verbs.c
@@ -473,11 +473,8 @@ static int iser_cma_handler(struct rdma_cm_id *cma_id, struct rdma_cm_event *eve
473 iser_connect_error(cma_id); 473 iser_connect_error(cma_id);
474 break; 474 break;
475 case RDMA_CM_EVENT_DISCONNECTED: 475 case RDMA_CM_EVENT_DISCONNECTED:
476 iser_disconnected_handler(cma_id);
477 break;
478 case RDMA_CM_EVENT_DEVICE_REMOVAL: 476 case RDMA_CM_EVENT_DEVICE_REMOVAL:
479 iser_err("Device removal is currently unsupported\n"); 477 iser_disconnected_handler(cma_id);
480 BUG();
481 break; 478 break;
482 default: 479 default:
483 iser_err("Unexpected RDMA CM event (%d)\n", event->event); 480 iser_err("Unexpected RDMA CM event (%d)\n", event->event);