]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
smb: client: introduce and use smbd_{alloc, free}_send_io()
authorStefan Metzmacher <metze@samba.org>
Thu, 22 Jan 2026 17:16:55 +0000 (18:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Feb 2026 09:19:43 +0000 (10:19 +0100)
commitd059e5fc4975598bd827ba2447db60141112bed7
treebf3cff6dffee2a3f37f88007489b65e594dbd513
parent1f3e8e2c67cbc1cea7621e74f3290b1731269de6
smb: client: introduce and use smbd_{alloc, free}_send_io()

commit dc77da0373529d43175984b390106be2d8f03609 upstream.

This is basically a copy of smb_direct_{alloc,free}_sendmsg()
in the server, with just using ib_dma_unmap_page() in all
cases, which is the same as ib_dma_unmap_single().

We'll use this logic in common code in future.
(I basically backported it from my branch that
as already has everything in common).

Cc: <stable@vger.kernel.org> # 6.18.x
Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: Long Li <longli@microsoft.com>
Cc: Namjae Jeon <linkinjeon@kernel.org>
Cc: linux-cifs@vger.kernel.org
Cc: samba-technical@lists.samba.org
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/smb/client/smbdirect.c