projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bnxt_re: Fix couple of memory leaks that could lead to IOMMU call traces
[linux-2.6-block.git]
/
drivers
/
infiniband
/
hw
/
bnxt_re
/
qplib_fp.c
diff --git
a/drivers/infiniband/hw/bnxt_re/qplib_fp.c
b/drivers/infiniband/hw/bnxt_re/qplib_fp.c
index e426b990c1dd5bf3fa08966f41ccd08e3f3c4e44..6ad0d46ab879a6a1bf6d231e22b6e766b796efd2 100644
(file)
--- a/
drivers/infiniband/hw/bnxt_re/qplib_fp.c
+++ b/
drivers/infiniband/hw/bnxt_re/qplib_fp.c
@@
-196,7
+196,7
@@
static int bnxt_qplib_alloc_qp_hdr_buf(struct bnxt_qplib_res *res,
struct bnxt_qplib_qp *qp)
{
struct bnxt_qplib_q *rq = &qp->rq;
- struct bnxt_qplib_q *sq = &qp->
r
q;
+ struct bnxt_qplib_q *sq = &qp->
s
q;
int rc = 0;
if (qp->sq_hdr_buf_size && sq->hwq.max_elements) {