OSDN Git Service

cifs: fix session state check in smb2_find_smb_ses
authorWinston Wen <wentao@uniontech.com>
Mon, 26 Jun 2023 03:42:57 +0000 (11:42 +0800)
committerSteve French <stfrench@microsoft.com>
Wed, 28 Jun 2023 16:47:46 +0000 (11:47 -0500)
commit66be5c48ee1b5b8c919cc329fe6d32e16badaa40
tree6018b99d254dda18290bf2a2f301521acc2841e4
parent99f280700b4cc02d5f141b8d15f8e9fad0418f65
cifs: fix session state check in smb2_find_smb_ses

Chech the session state and skip it if it's exiting.

Signed-off-by: Winston Wen <wentao@uniontech.com>
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Cc: stable@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/smb2transport.c