projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[AF_UNIX]: Fix datagram connect race causing an OOPS.
[powerpc.git]
/
crypto
/
api.c
diff --git
a/crypto/api.c
b/crypto/api.c
index
55af8bb
..
33734fd
100644
(file)
--- a/
crypto/api.c
+++ b/
crypto/api.c
@@
-48,8
+48,10
@@
EXPORT_SYMBOL_GPL(crypto_mod_get);
void crypto_mod_put(struct crypto_alg *alg)
{
+ struct module *module = alg->cra_module;
+
crypto_alg_put(alg);
- module_put(
alg->cra_
module);
+ module_put(module);
}
EXPORT_SYMBOL_GPL(crypto_mod_put);