diff options
author | 2025-08-04 14:10:15 +0200 | |
---|---|---|
committer | 2025-08-06 15:04:13 -0500 | |
commit | bdd7afc6dca5e0ebbb75583484aa6ea9e03fbb13 (patch) | |
tree | cbfbba34dd22498d94696c080b756d0a8cdcd297 /rust/pin-init/internal/src | |
parent | smb: client: make sure we call ib_dma_unmap_single() only if we called ib_dma_map_single already (diff) | |
download | wireguard-linux-bdd7afc6dca5e0ebbb75583484aa6ea9e03fbb13.tar.xz wireguard-linux-bdd7afc6dca5e0ebbb75583484aa6ea9e03fbb13.zip |
smb: client: let recv_done() cleanup before notifying the callers.
We should call put_receive_buffer() before waking up the callers.
For the internal error case of response->type being unexpected,
we now also call smbd_disconnect_rdma_connection() instead
of not waking up the callers at all.
Note that the SMBD_TRANSFER_DATA case still has problems,
which will be addressed in the next commit in order to make
it easier to review this one.
Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: Long Li <longli@microsoft.com>
Cc: linux-cifs@vger.kernel.org
Cc: samba-technical@lists.samba.org
Fixes: f198186aa9bb ("CIFS: SMBD: Establish SMB Direct connection")
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions