summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-06-21 21:26:16 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2026-07-05 13:27:15 +0800
commitc5bcb084a9871e5b62afb5f48b60adfa13b5d9f8 (patch)
tree06cf60486c1f4277d95781752b240263c3e17827 /tools/perf/scripts/python/event_analyzing_sample.py
parentd03f980a25853f6a380895119a572a3bb1194e8d (diff)
crypto: mxs-dcp - fix source scatterlist length access
mxs_dcp_aes_block_crypt() uses sg_dma_len() without mapping the source scatterlist with dma_map_sg() first. Therefore, sg_dma_len() is invalid and could return zero or a stale DMA length, causing encryption and decryption to process the wrong number of bytes when CONFIG_NEED_SG_DMA_LENGTH=y. Use the original scatterlist length instead. Fixes: 15b59e7c3733 ("crypto: mxs - Add Freescale MXS DCP driver") Cc: stable@vger.kernel.org Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Reviewed-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions