aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorStefan Metzmacher <[email protected]>2025-08-04 12:15:53 +0000
committerSteve French <[email protected]>2025-08-06 19:09:57 +0000
commita6c015b7ac2d8c5233337e5793f50d04fac17669 (patch)
tree21a0adb0753e7056515d48bb1bfed8e91af27e12 /net/unix/af_unix.c
parentsmb: server: let recv_done() consistently call put_recvmsg/smb_direct_disconn... (diff)
downloadkernel-a6c015b7ac2d8c5233337e5793f50d04fac17669.tar.gz
kernel-a6c015b7ac2d8c5233337e5793f50d04fac17669.zip
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 <[email protected]> Cc: Steve French <[email protected]> Cc: Tom Talpey <[email protected]> Cc: [email protected] Cc: [email protected] Fixes: 0626e6641f6b ("cifsd: add server handler for central processing and tranport layers") Signed-off-by: Stefan Metzmacher <[email protected]> Acked-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions