diff options
| author | Stefan Metzmacher <[email protected]> | 2025-08-04 12:15:53 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2025-08-06 19:09:57 +0000 |
| commit | a6c015b7ac2d8c5233337e5793f50d04fac17669 (patch) | |
| tree | 21a0adb0753e7056515d48bb1bfed8e91af27e12 /tools/lib/api/debug.h | |
| parent | smb: server: let recv_done() consistently call put_recvmsg/smb_direct_disconn... (diff) | |
| download | kernel-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 'tools/lib/api/debug.h')
0 files changed, 0 insertions, 0 deletions
