linux/arch/s390
Herbert Xu a760a6656e crypto: api - Fix module load deadlock with fallback algorithms
With the mandatory algorithm testing at registration, we have
now created a deadlock with algorithms requiring fallbacks.
This can happen if the module containing the algorithm requiring
fallback is loaded first, without the fallback module being loaded
first.  The system will then try to test the new algorithm, find
that it needs to load a fallback, and then try to load that.

As both algorithms share the same module alias, it can attempt
to load the original algorithm again and block indefinitely.

As algorithms requiring fallbacks are a special case, we can fix
this by giving them a different module alias than the rest.  Then
it's just a matter of using the right aliases according to what
algorithms we're trying to find.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2009-02-26 14:06:31 +08:00
..
appldata Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2008-12-28 12:49:40 -08:00
boot
crypto crypto: api - Fix module load deadlock with fallback algorithms 2009-02-26 14:06:31 +08:00
hypfs zero i_uid/i_gid on inode allocation 2009-01-05 11:54:28 -05:00
include/asm [S390] vdso: fix per cpu vdso pointer in lowcore 2009-02-11 10:37:39 +01:00
kernel [S390] Fix init irq proc build break. 2009-02-11 10:37:39 +01:00
kvm [S390] Use unsigned long long for u64 on 64bit. 2009-01-09 12:15:07 +01:00
lib [S390] Move private simple udelay function to arch/s390/lib/delay.c. 2008-10-10 21:33:58 +02:00
math-emu [S390] remove -traditional 2008-04-30 13:38:44 +02:00
mm mm: show node to memory section relationship with symlinks in sysfs 2009-01-06 15:59:00 -08:00
oprofile Combine instrumentation menus in kernel/Kconfig.instrumentation 2007-10-19 11:53:54 -07:00
defconfig [S390] Update default configuration. 2009-02-11 10:37:40 +01:00
Kconfig [CVE-2009-0029] s390: enable system call wrappers 2009-01-14 14:15:17 +01:00
Kconfig.debug [S390] DEBUG_PAGEALLOC support for s390. 2008-02-05 16:50:54 +01:00
Makefile [S390] Add processor type march=z10 and a processor type safety check. 2008-12-25 13:39:12 +01:00