[ofa-general] GIT PULL ofed_1_2] iw_cxgb3: remove the cm_id reference on listen failures.
    Steve Wise 
    swise at opengridcomputing.com
       
    Wed Jul 11 11:11:43 PDT 2007
    
    
  
Vlad,
Please pull the fix for bug 686 from
git://git.openfabrics.org/~swise/ofed_1_2 ofed_1_2
Thanks,
Steve.
-----
iw_cxgb3: remove the cm_id reference on listen failures.
Signed-off-by: Steve Wise <swise at opengridcomputing.com>
---
  drivers/infiniband/hw/cxgb3/iwch_cm.c |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/infiniband/hw/cxgb3/iwch_cm.c 
b/drivers/infiniband/hw/cxgb3/iwch_cm.c
index 4175991..08986fb 100644
--- a/drivers/infiniband/hw/cxgb3/iwch_cm.c
+++ b/drivers/infiniband/hw/cxgb3/iwch_cm.c
@@ -1912,6 +1912,7 @@ int iwch_create_listen(struct iw_cm_id *
  fail3:
  	cxgb3_free_stid(ep->com.tdev, ep->stid);
  fail2:
+	cm_id->rem_ref(cm_id);
  	put_ep(&ep->com);
  fail1:
  out:
    
    
More information about the general
mailing list