Commit dcc47a02 authored by Herbert Xu's avatar Herbert Xu
Browse files

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: default avatar <syzbot+b3e02953598f447d4d2a@syzkaller.appspotmail.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 1047e21a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment