diff options
author | Steve Wise <swise@opengridcomputing.com> | 2007-07-11 20:04:35 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-07-18 03:37:38 +0200 |
commit | 1b07db7079103961de64f75761639435e9082504 (patch) | |
tree | 7fa95d3c48b524d55d766167c8608a23d6f90dad /drivers/infiniband | |
parent | slob: Kill off duplicate kzalloc() definition. (diff) | |
download | linux-1b07db7079103961de64f75761639435e9082504.tar.xz linux-1b07db7079103961de64f75761639435e9082504.zip |
RDMA/cxgb3: Remove cm_id reference on listen failures
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | 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 3b41dc0c39dd..5dc68cd5621b 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: |