diff options
author | Stefan Metzmacher <metze@samba.org> | 2025-08-04 14:10:12 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-08-06 15:04:13 -0500 |
commit | 5349ae5e05fa37409fd48a1eb483b199c32c889b (patch) | |
tree | 6d300c99c986a999152be46ea04d036a5970e318 /rust/helpers/mutex.c | |
parent | b0b73329ebeeb727913f07b5b6bb85e66e03d156 (diff) |
smb: client: let send_done() cleanup before calling smbd_disconnect_rdma_connection()
We should call ib_dma_unmap_single() and mempool_free() before calling
smbd_disconnect_rdma_connection().
And smbd_disconnect_rdma_connection() needs to be the last function to
call as all other state might already be gone after it returns.
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/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions