commit | ad46d7e33219218605ea619e32553daf4f346b9f | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Fri Jan 15 22:01:08 2016 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Mon Jan 18 18:16:34 2016 +0800 |
tree | 41d1566160c2dc875fab29865a8988e0fae4d05b | |
parent | cbafd643be4c01d9df994175d5e2fa8b3b1b86bb [diff] |
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>