linux/fs/smb
Thomas Fourier d1943bc9dc ksmbd: smbd: fix dma_unmap_sg() nents
commit 98e3e2b561 upstream.

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: 0626e6641f ("cifsd: add server handler for central processing and tranport layers")
Cc: <stable@vger.kernel.org>
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2026-01-30 10:32:24 +01:00
..
client smb/client: fix NT_STATUS_NO_DATA_DETECTED value 2026-01-17 16:35:17 +01:00
common smb: smbdirect: introduce SMBDIRECT_CHECK_STATUS_{WARN,DISCONNECT}() 2025-12-18 14:03:28 +01:00
server ksmbd: smbd: fix dma_unmap_sg() nents 2026-01-30 10:32:24 +01:00
Kconfig smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
Makefile smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00