aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorWinston Wen <[email protected]>2023-06-26 11:42:56 +0800
committerSteve French <[email protected]>2023-06-28 11:47:43 -0500
commit99f280700b4cc02d5f141b8d15f8e9fad0418f65 (patch)
tree84f9cfb541e42f7ef8f5400dd7fbac801e449dad /lib/memory-notifier-error-inject.c
parent326a8d04f147e2bf393f6f9cdb74126ee6900607 (diff)
cifs: fix session state check in reconnect to avoid use-after-free issue
Don't collect exiting session in smb2_reconnect_server(), because it will be released soon. Note that the exiting session will stay in server->smb_ses_list until it complete the cifs_free_ipc() and logoff() and then delete itself from the list. Signed-off-by: Winston Wen <[email protected]> Reviewed-by: Shyam Prasad N <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions