aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorThara Gopinath <[email protected]>2021-05-20 22:20:23 -0400
committerHerbert Xu <[email protected]>2021-05-28 15:11:45 +0800
commit1339a7c3ba05137a2d2fe75f602311bbfc6fab33 (patch)
treed4f32635cd154120c2dc5140ebef144cf546e2f1 /scripts/gdb/linux/modules.py
parent9b7b94683a9b9c42a743d591e48b9f51f505dd1f (diff)
crypto: qce: skcipher: Fix incorrect sg count for dma transfers
Use the sg count returned by dma_map_sg to call into dmaengine_prep_slave_sg rather than using the original sg count. dma_map_sg can merge consecutive sglist entries, thus making the original sg count wrong. This is a fix for memory coruption issues observed while testing encryption/decryption of large messages using libkcapi framework. Patch has been tested further by running full suite of tcrypt.ko tests including fuzz tests. Signed-off-by: Thara Gopinath <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions