diff options
author | 2025-08-04 14:10:14 +0200 | |
---|---|---|
committer | 2025-08-06 15:04:13 -0500 | |
commit | 047682c370b6f18fec818b57b0ed8b501bdb79f8 (patch) | |
tree | 18dca1f4838357b6e369456fa43f4bd84c3c5679 /rust/pin-init/internal/src | |
parent | smb: client: remove separate empty_packet_queue (diff) | |
download | wireguard-linux-047682c370b6f18fec818b57b0ed8b501bdb79f8.tar.xz wireguard-linux-047682c370b6f18fec818b57b0ed8b501bdb79f8.zip |
smb: client: 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_receive_buffer() only calls
ib_dma_unmap_single() if needed.
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