summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFelix Gu <ustc.gu@gmail.com>2026-06-02 22:55:35 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2026-06-12 09:56:45 +0800
commit9dbf173bd32d5f81b005008b682bfb50aa093455 (patch)
treeb308271ca2cc532c0a7651c76b33a7eafa23215d /scripts
parent7891c64c0520519782470ba29bac8a5761e295d8 (diff)
crypto: cavium/cpt - fix DMA cleanup using wrong loop index
The sg_cleanup error path used list[i] instead of list[j] when unmapping DMA buffers, leaking successfully mapped entries and repeatedly unmapping the failed one. Fixes: c694b233295b ("crypto: cavium - Add the Virtual Function driver for CPT") Signed-off-by: Felix Gu <ustc.gu@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions