diff options
author | Winston Wen <wentao@uniontech.com> | 2023-06-26 11:42:56 +0800 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-06-28 11:47:43 -0500 |
commit | 99f280700b4cc02d5f141b8d15f8e9fad0418f65 (patch) | |
tree | 84f9cfb541e42f7ef8f5400dd7fbac801e449dad /scripts/gdb/linux/tasks.py | |
parent | 326a8d04f147e2bf393f6f9cdb74126ee6900607 (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 <wentao@uniontech.com>
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions