git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
crypto: skcipher - Fix blkcipher walk OOM crash
[pandora-kernel.git]
/
crypto
/
chainiv.c
diff --git
a/crypto/chainiv.c
b/crypto/chainiv.c
index
7c37a49
..
3bf2eb0
100644
(file)
--- a/
crypto/chainiv.c
+++ b/
crypto/chainiv.c
@@
-15,6
+15,7
@@
#include <crypto/internal/skcipher.h>
#include <crypto/rng.h>
#include <crypto/internal/skcipher.h>
#include <crypto/rng.h>
+#include <crypto/crypto_wq.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/kernel.h>
@@
-133,7
+134,7
@@
static int async_chainiv_schedule_work(struct async_chainiv_ctx *ctx)
goto out;
}
goto out;
}
- queued =
schedule_work(
&ctx->postponed);
+ queued =
queue_work(kcrypto_wq,
&ctx->postponed);
BUG_ON(!queued);
out:
BUG_ON(!queued);
out:
@@
-359,3
+360,4
@@
module_exit(chainiv_module_exit);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Chain IV Generator");
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Chain IV Generator");
+MODULE_ALIAS_CRYPTO("chainiv");