diff options
author | Namjae Jeon <[email protected]> | 2022-07-25 13:36:52 +0900 |
---|---|---|
committer | Steve French <[email protected]> | 2022-07-31 23:14:32 -0500 |
commit | af7c39d971e43cd0af488729bca362427ad99488 (patch) | |
tree | 3c174aa7d504f663a6741a5dffee77666f86df65 /drivers/usb/cdns3/cdns3-trace.c | |
parent | a14c573870a664386adc10526a6c2648ea56dae1 (diff) |
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 <[email protected]>
Reviewed-by: Hyunchul Lee <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions