git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc005fa
)
RDMA/nes: Fix resource issues in nes_create_cq() and nes_destroy_cq()
author
Miroslaw Walukiewicz
<miroslaw.walukiewicz@intel.com>
Tue, 21 Apr 2009 23:16:48 +0000
(16:16 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Tue, 21 Apr 2009 23:16:48 +0000
(16:16 -0700)
In error paths where a CQ is not created, pbl is not freeed properly.
In nes_destroy_cq(), add the corresponding check for nescq->mcrqf to
not call nes_free_resource() when it is already done in nes_create_cq().
Signed-off-by: Miroslaw Walukiewicz <miroslaw.walukiewicz@intel.com>
Signed-off-by: Chien Tung <chien.tin.tung@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
No differences found