linux/fs/ksmbd/mgmt
Namjae Jeon af7c39d971 ksmbd: fix racy issue while destroying session on multichannel
After multi-channel connection with windows, Several channels of
session are connected. Among them, if there is a problem in one channel,
Windows connects again after disconnecting the channel. In this process,
the session is released and a kernel oop can occurs while processing
requests to other channels. When the channel is disconnected, if other
channels still exist in the session after deleting the channel from
the channel list in the session, the session should not be released.
Finally, the session will be released after all channels are disconnected.

Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
2022-07-31 23:14:32 -05:00
..
ksmbd_ida.c
ksmbd_ida.h
share_config.c ksmbd: remove unused ksmbd_share_configs_cleanup function 2022-07-24 15:30:16 -05:00
share_config.h ksmbd: remove unused ksmbd_share_configs_cleanup function 2022-07-24 15:30:16 -05:00
tree_connect.c ksmbd: fix racy issue while destroying session on multichannel 2022-07-31 23:14:32 -05:00
tree_connect.h ksmbd: fix racy issue while destroying session on multichannel 2022-07-31 23:14:32 -05:00
user_config.c ksmbd: set RSS capable in FSCTL_QUERY_NETWORK_INTERFACE_INFO 2021-12-28 22:47:22 -06:00
user_config.h ksmbd: set RSS capable in FSCTL_QUERY_NETWORK_INTERFACE_INFO 2021-12-28 22:47:22 -06:00
user_session.c ksmbd: fix racy issue while destroying session on multichannel 2022-07-31 23:14:32 -05:00
user_session.h ksmbd: fix racy issue while destroying session on multichannel 2022-07-31 23:14:32 -05:00