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:
2fceec1
)
mlx4: fix kfree on error path in new_steering_entry()
author
Mariusz Kozlowski
<mk@lab.zgora.pl>
Mon, 4 Apr 2011 05:04:01 +0000
(22:04 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 4 Apr 2011 05:04:01 +0000
(22:04 -0700)
On error path kfree() should get pointer to memory allocated by
kmalloc() not the address of variable holding it (which is on stack).
Signed-off-by: Mariusz Kozlowski <mk@lab.zgora.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found