diff options
| author | Felix Gu <ustc.gu@gmail.com> | 2026-06-02 22:55:35 +0800 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-06-12 09:56:45 +0800 |
| commit | 9dbf173bd32d5f81b005008b682bfb50aa093455 (patch) | |
| tree | b308271ca2cc532c0a7651c76b33a7eafa23215d /scripts | |
| parent | 7891c64c0520519782470ba29bac8a5761e295d8 (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
