diff options
author | 2025-08-04 14:10:16 +0200 | |
---|---|---|
committer | 2025-08-06 15:04:13 -0500 | |
commit | 24eff17887cb45c25a427e662dda352973c5c171 (patch) | |
tree | 0483d4403f9d973e484866aae86cdb54a990f443 /rust/pin-init/internal/src | |
parent | smb: client: let recv_done() cleanup before notifying the callers. (diff) | |
download | wireguard-linux-24eff17887cb45c25a427e662dda352973c5c171.tar.xz wireguard-linux-24eff17887cb45c25a427e662dda352973c5c171.zip |
smb: client: let recv_done() avoid touching data_transfer after cleanup/move
Calling enqueue_reassembly() and wake_up_interruptible(&info->wait_reassembly_queue)
or put_receive_buffer() means the response/data_transfer pointer might
get re-used by another thread, which means these should be
the last operations before calling return.
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