projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd9281d
)
IB/ehca: Fix mem leak of firmware ctrlblock in ehca_create_srq()
author
Hoang-Nam Nguyen
<hnguyen@linux.vnet.ibm.com>
Fri, 28 Sep 2007 15:16:27 +0000
(17:16 +0200)
committer
Roland Dreier
<rolandd@cisco.com>
Wed, 10 Oct 2007 02:59:14 +0000
(19:59 -0700)
Signed-off-by: Hoang-Nam Nguyen <hnguyen@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_qp.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/ehca/ehca_qp.c
b/drivers/infiniband/hw/ehca/ehca_qp.c
index b10c7df669bb1f30c15540e25ff35fa08da72f54..2591651dac949ffdb64f66db3a5915169df1f030 100644
(file)
--- a/
drivers/infiniband/hw/ehca/ehca_qp.c
+++ b/
drivers/infiniband/hw/ehca/ehca_qp.c
@@
-890,6
+890,8
@@
struct ib_srq *ehca_create_srq(struct ib_pd *pd,
goto create_srq2;
}
+ ehca_free_fw_ctrlblock(mqpcb);
+
return &my_qp->ib_srq;
create_srq2: