Re: [PATCH] ksmbd: smbd: fix dma_unmap_sg() nents

From: Namjae Jeon
Date: Fri Jan 09 2026 - 07:26:41 EST


On Fri, Jan 9, 2026 at 7:39 PM Thomas Fourier <fourier.thomas@xxxxxxxxx> wrote:
>
> The dma_unmap_sg() functions should be called with the same nents as the
> dma_map_sg(), not the value the map function returned.
>
> Fixes: 0626e6641f6b ("cifsd: add server handler for central processing and tranport layers")
> Cc: <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Thomas Fourier <fourier.thomas@xxxxxxxxx>
Applied it to #ksmbd-for-next-next.
Thanks!