diff options
| author | Stefan Metzmacher <metze@samba.org> | 2025-09-15 00:55:31 +0200 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2025-09-28 18:29:51 -0500 |
| commit | 2dad0b15bbe86ffa6d2f234c40609aa59894e9ec (patch) | |
| tree | c60c394d92996adc271b49894c583c5d528be863 /rust/helpers/build_bug.c | |
| parent | c4709e61ef253eed4257328b614e7c57fed259ec (diff) | |
smb: client: let smbd_post_send_iter() call ib_dma_map_single() for the header first
This will simplify further changes, the important part is that
request->num_sge >= 1 is only set if request->sge[0].* is valid.
Note that ib_dma_sync_single_for_device() is called in
smbd_post_send() for each sge, so the device will still
see the packet header even if it's modified after calling
ib_dma_map_single().
Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: Long Li <longli@microsoft.com>
Acked-by: 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>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions
