]> www.infradead.org Git - users/dwmw2/linux.git/commit
crypto: null - Use spin lock instead of mutex
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 12 Feb 2025 06:10:07 +0000 (14:10 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 22 Feb 2025 07:56:03 +0000 (15:56 +0800)
commitdcc47a028c24e793ce6d6efebfef1a1e92f80297
tree9e6f3513aca195d2bc135851d15c9d65ef51cc8e
parent1047e21aecdf17c8a9ab9fd4bd24c6647453f93d
crypto: null - Use spin lock instead of mutex

As the null algorithm may be freed in softirq context through
af_alg, use spin locks instead of mutexes to protect the default
null algorithm.

Reported-by: syzbot+b3e02953598f447d4d2a@syzkaller.appspotmail.com
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/crypto_null.c