From: Steve Wise Date: Wed, 11 Jul 2007 18:04:35 +0000 (-0500) Subject: RDMA/cxgb3: Remove cm_id reference on listen failures X-Git-Tag: v2.6.23-rc1~483^2~28 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1b07db7079103961de64f75761639435e9082504;p=linux-2.6-omap-h63xx.git RDMA/cxgb3: Remove cm_id reference on listen failures Signed-off-by: Steve Wise Signed-off-by: Roland Dreier --- diff --git a/drivers/infiniband/hw/cxgb3/iwch_cm.c b/drivers/infiniband/hw/cxgb3/iwch_cm.c index 3b41dc0c39d..5dc68cd5621 100644 --- a/drivers/infiniband/hw/cxgb3/iwch_cm.c +++ b/drivers/infiniband/hw/cxgb3/iwch_cm.c @@ -1914,6 +1914,7 @@ int iwch_create_listen(struct iw_cm_id *cm_id, int backlog) fail3: cxgb3_free_stid(ep->com.tdev, ep->stid); fail2: + cm_id->rem_ref(cm_id); put_ep(&ep->com); fail1: out: