summaryrefslogtreecommitdiff
path: root/rust/helpers/completion.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2025-08-04 14:15:51 +0200
committerSteve French <stfrench@microsoft.com>2025-08-06 14:09:57 -0500
commitafb4108c92898350e66b9a009692230bcdd2ac73 (patch)
tree14b72c7c60fee4600f4f0364fb4279b9126db6ef /rust/helpers/completion.c
parent01027a62b508c48c762096f347de925eedcbd008 (diff)
smb: server: make sure we call ib_dma_unmap_single() only if we called ib_dma_map_single already
In case of failures either ib_dma_map_single() might not be called yet or ib_dma_unmap_single() was already called. We should make sure put_recvmsg() only calls ib_dma_unmap_single() if needed. Cc: Namjae Jeon <linkinjeon@kernel.org> Cc: Steve French <smfrench@gmail.com> Cc: Tom Talpey <tom@talpey.com> Cc: linux-cifs@vger.kernel.org Cc: samba-technical@lists.samba.org Fixes: 0626e6641f6b ("cifsd: add server handler for central processing and tranport layers") Signed-off-by: Stefan Metzmacher <metze@samba.org> Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'rust/helpers/completion.c')
0 files changed, 0 insertions, 0 deletions