Re: [PATCH] crypto: cavium/cpt - fix DMA cleanup using wrong loop index
From: Markus Elfring
Date: Tue Jun 02 2026 - 15:32:01 EST
> 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.
See also once more:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v7.1-rc6#n94
Regards,
Markus