Message ID | 4AD3B443.7040107@mellanox.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
Index: ofed_kernel/drivers/infiniband/ulp/srp/ib_srp.c =================================================================== --- ofed_kernel.orig/drivers/infiniband/ulp/srp/ib_srp.c +++ ofed_kernel/drivers/infiniband/ulp/srp/ib_srp.c @@ -421,7 +421,6 @@ static void srp_disconnect_target(struct PFX "Sending CM DREQ failed\n"); return; } - wait_for_completion(&target->done); } static void srp_remove_work(struct work_struct *work) @@ -1301,7 +1300,6 @@ static int srp_cm_handler(struct ib_cm_i shost_printk(KERN_ERR, target->scsi_host, PFX "connection closed\n"); - comp = 1; target->status = 0; break;