diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2016-02-03 21:39:26 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-17 12:31:05 -0800 |
| commit | 66bca97f21762ba58ce3d6767b27f782c702ef65 (patch) | |
| tree | 6a5b523f10d04d148764aa8697c9637a8877993c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 3e597bb7c3be2c69c03a6af95d27d5ed16b7b882 (diff) | |
crypto: algif_skcipher - Do not dereference ctx without socket lock
commit 6454c2b83f719057069777132b13949e4c6b6350 upstream.
Any access to non-constant bits of the private context must be
done under the socket lock, in particular, this includes ctx->req.
This patch moves such accesses under the lock, and fetches the
tfm from the parent socket which is guaranteed to be constant,
rather than from ctx->req.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
