linux/drivers/crypto/cavium
Felix Gu 9dbf173bd3 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: c694b23329 ("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>
2026-06-12 09:56:45 +08:00
..
cpt crypto: cavium/cpt - fix DMA cleanup using wrong loop index 2026-06-12 09:56:45 +08:00
nitrox crypto: drivers - Drop explicit assigment of 0 in pci_device_id array 2026-05-15 18:08:36 +08:00
Makefile crypto: cavium/zip - Remove driver 2025-04-07 13:22:25 +08:00