summaryrefslogtreecommitdiffstats
path: root/crypto/algif_skcipher.c
diff options
context:
space:
mode:
authorHerbert Xu2016-01-15 15:01:08 +0100
committerHerbert Xu2016-01-18 11:16:34 +0100
commitad46d7e33219218605ea619e32553daf4f346b9f (patch)
tree41d1566160c2dc875fab29865a8988e0fae4d05b /crypto/algif_skcipher.c
parentcrypto: CRYPTO_DEV_ATMEL_AES should depend on HAS_DMA (diff)
downloadkernel-qcow2-linux-ad46d7e33219218605ea619e32553daf4f346b9f.tar.gz
kernel-qcow2-linux-ad46d7e33219218605ea619e32553daf4f346b9f.tar.xz
kernel-qcow2-linux-ad46d7e33219218605ea619e32553daf4f346b9f.zip
crypto: algif_hash - Fix race condition in hash_check_key
We need to lock the child socket in hash_check_key as otherwise two simultaneous calls can cause the parent socket to be freed. Cc: stable@vger.kernel.org Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algif_skcipher.c')
0 files changed, 0 insertions, 0 deletions