linux-stable/fs/smb
Namjae Jeon 7ca9da7d87 ksmbd: fix race condition from parallel smb2 logoff requests
If parallel smb2 logoff requests come in before closing door, running
request count becomes more than 1 even though connection status is set to
KSMBD_SESS_NEED_RECONNECT. It can't get condition true, and sleep forever.
This patch fix race condition problem by returning error if connection
status was already set to KSMBD_SESS_NEED_RECONNECT.

Reported-by: luosili <rootlab@huawei.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
2023-10-04 20:21:48 -05:00
..
client fs/smb/client: Reset password pointer to NULL 2023-09-28 14:49:51 -05:00
common smb3: fix minor typo in SMB2_GLOBAL_CAP_LARGE_MTU 2023-09-08 19:01:16 -05:00
server ksmbd: fix race condition from parallel smb2 logoff requests 2023-10-04 20:21:48 -05:00
Kconfig
Makefile