mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
76e98a158b
If there is ->PreviousSessionId field in the session setup request,
The session of the previous connection should be destroyed.
During this, if the smb2 operation requests in the previous session are
being processed, a racy issue could happen with ksmbd_destroy_file_table().
This patch sets conn->status to KSMBD_SESS_NEED_RECONNECT to block
incoming operations and waits until on-going operations are complete
(i.e. idle) before desctorying the previous session.
Fixes:
|
||
---|---|---|
.. | ||
ksmbd_ida.c | ||
ksmbd_ida.h | ||
share_config.c | ||
share_config.h | ||
tree_connect.c | ||
tree_connect.h | ||
user_config.c | ||
user_config.h | ||
user_session.c | ||
user_session.h |