[ewg][PATCH][1/2] SRP multipath failover within 60 seconds,

Roland Dreier rdreier at cisco.com
Wed Feb 6 08:56:13 PST 2008


 > diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c
 > index 950228f..45a2533 100644
 > --- a/drivers/infiniband/ulp/srp/ib_srp.c
 > +++ b/drivers/infiniband/ulp/srp/ib_srp.c
 > @@ -400,7 +400,6 @@
 >  		printk(KERN_DEBUG PFX "Sending CM DREQ failed\n");
 >  		return;
 >  	}
 > -	wait_for_completion(&target->done);
 >  }
 >  
 >  static void srp_remove_work(struct work_struct *work)
 > @@ -1266,7 +1294,6 @@
 >  	case IB_CM_TIMEWAIT_EXIT:
 >  		printk(KERN_ERR PFX "connection closed\n");
 >  
 > -		comp = 1;
 >  		target->status = 0;
 >  		break;

Seems like this would leak the cm_id?



More information about the ewg mailing list