git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ima: initialize ima before inodes can be allocated
[safe/jmp/linux-2.6]
/
crypto
/
algboss.c
diff --git
a/crypto/algboss.c
b/crypto/algboss.c
index
9908dd8
..
412241c
100644
(file)
--- a/
crypto/algboss.c
+++ b/
crypto/algboss.c
@@
-68,6
+68,11
@@
static int cryptomgr_probe(void *data)
goto err;
do {
+ if (tmpl->create) {
+ err = tmpl->create(tmpl, param->tb);
+ continue;
+ }
+
inst = tmpl->alloc(param->tb);
if (IS_ERR(inst))
err = PTR_ERR(inst);