summaryrefslogtreecommitdiffstats
path: root/crypto/algif_skcipher.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-01-15 22:01:08 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2016-01-18 18:16:34 +0800
commitad46d7e33219218605ea619e32553daf4f346b9f (patch)
tree41d1566160c2dc875fab29865a8988e0fae4d05b /crypto/algif_skcipher.c
parentcbafd643be4c01d9df994175d5e2fa8b3b1b86bb (diff)
downloadlinux-ad46d7e33219218605ea619e32553daf4f346b9f.tar.gz
linux-ad46d7e33219218605ea619e32553daf4f346b9f.tar.bz2
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