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:
ff7c4b3
)
SUNRPC/cache: add module_put() on error path in cache_open()
author
Alexey Khoroshilov
<khoroshilov@ispras.ru>
Fri, 22 Mar 2013 20:36:44 +0000
(
00:36
+0400)
committer
J. Bruce Fields
<bfields@redhat.com>
Wed, 3 Apr 2013 19:32:32 +0000
(15:32 -0400)
If kmalloc() fails in cache_open(), module cd->owner left locked.
The patch adds module_put(cd->owner) on this path.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
No differences found