summaryrefslogtreecommitdiff
path: root/rust/helpers/auxiliary.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2025-08-04 14:15:53 +0200
committerSteve French <stfrench@microsoft.com>2025-08-06 14:09:57 -0500
commita6c015b7ac2d8c5233337e5793f50d04fac17669 (patch)
tree21a0adb0753e7056515d48bb1bfed8e91af27e12 /rust/helpers/auxiliary.c
parentcfe76fdbb9729c650f3505d9cfb2f70ddda2dbdc (diff)
smb: server: let recv_done() avoid touching data_transfer after cleanup/move
Calling enqueue_reassembly() and wake_up_interruptible(&t->wait_reassembly_queue) or put_receive_buffer() means the recvmsg/data_transfer pointer might get re-used by another thread, which means these should be the last operations before calling return. Cc: Namjae Jeon <linkinjeon@kernel.org> Cc: Steve French <smfrench@gmail.com> Cc: Tom Talpey <tom@talpey.com> Cc: linux-cifs@vger.kernel.org Cc: samba-technical@lists.samba.org Fixes: 0626e6641f6b ("cifsd: add server handler for central processing and tranport layers") Signed-off-by: Stefan Metzmacher <metze@samba.org> Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'rust/helpers/auxiliary.c')
0 files changed, 0 insertions, 0 deletions