diff options
| author | Thomas Fourier <fourier.thomas@gmail.com> | 2026-01-28 15:32:52 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-02-06 16:55:49 +0100 |
| commit | 70ba85e439221a5d6dda34a3004db6640f0525e6 (patch) | |
| tree | c17ffe7367a84fafcc7d4851a1c4fc9d284ba420 /include/net/aligned_data.h | |
| parent | c08cf314191cd0f8699089715efb9eff030f0086 (diff) | |
ksmbd: smbd: fix dma_unmap_sg() nents
[ Upstream commit 98e3e2b561bc88f4dd218d1c05890672874692f6 ]
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@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>
[ Context ]
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
