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:
093beac
)
IB/uverbs: Don't leak ref to mm on error path
author
Roland Dreier
<rolandd@cisco.com>
Thu, 18 May 2006 05:20:50 +0000
(22:20 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Thu, 18 May 2006 05:20:50 +0000
(22:20 -0700)
In ib_umem_release_on_close(), if the kmalloc() fails, then a
reference to current->mm will be leaked. Fix this by adding a mmput()
instead of just returning on kmalloc() failure.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
No differences found