diff options
author | Harald Freudenberger <freude@linux.ibm.com> | 2019-05-27 15:24:20 +0200 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2019-05-29 21:13:10 +0200 |
commit | 1c2c7029c008922d4d48902cc386250502e73d51 (patch) | |
tree | 51e5dafe573a32bfd593cfb4dd7f3608fe73ee56 /MAINTAINERS | |
parent | s390/crypto: fix gcm-aes-s390 selftest failures (diff) | |
download | linux-1c2c7029c008922d4d48902cc386250502e73d51.tar.xz linux-1c2c7029c008922d4d48902cc386250502e73d51.zip |
s390/crypto: fix possible sleep during spinlock aquired
This patch fixes a complain about possible sleep during
spinlock aquired
"BUG: sleeping function called from invalid context at
include/crypto/algapi.h:426"
for the ctr(aes) and ctr(des) s390 specific ciphers.
Instead of using a spinlock this patch introduces a mutex
which is save to be held in sleeping context. Please note
a deadlock is not possible as mutex_trylock() is used.
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Reported-by: Julian Wiedmann <jwi@linux.ibm.com>
Cc: stable@vger.kernel.org
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions