diff options
| author | Thomas Fourier <fourier.thomas@gmail.com> | 2026-01-09 11:38:39 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-01-30 10:32:24 +0100 |
| commit | d1943bc9dc9508f5933788a76f8a35d10e43a646 (patch) | |
| tree | d97a55f3d3e593a2112cd5bf2652029d814f0c95 /include/net/aligned_data.h | |
| parent | 6e32070d29d1a35d8f4b3c03babf6c0e5efd1d08 (diff) | |
ksmbd: smbd: fix dma_unmap_sg() nents
commit 98e3e2b561bc88f4dd218d1c05890672874692f6 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: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
