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:
531ad42
)
enic: free all rq buffs when allocation fails
author
Govindarajulu Varadarajan
<_govind@gmx.com>
Fri, 2 Jan 2015 15:23:27 +0000
(20:53 +0530)
committer
David S. Miller
<davem@davemloft.net>
Fri, 2 Jan 2015 21:43:45 +0000
(16:43 -0500)
When allocation of all RQs fail, we do not free previously allocated buffers,
before returning error. This causes memory leak.
This patch fixes this by calling vnic_rq_clean(), which frees all the rq
buffers.
Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found