Home
last modified time | relevance | path

Searched hist:"14 bafd198066480568967e5fa445ce3a7bbbad98" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/smb/client/
H A Dconnect.cdiff 14bafd198066480568967e5fa445ce3a7bbbad98 Fri Dec 29 05:30:07 CST 2023 Shyam Prasad N <sprasad@microsoft.com> cifs: after disabling multichannel, mark tcon for reconnect

commit 27e1fd343f80168ff456785c2443136b6b7ca3cc upstream.

Once the server disables multichannel for an active multichannel
session, on the following reconnect, the client would reduce
the number of channels to 1. However, it could be the case that
the tree connect was active on one of these disabled channels.
This results in an unrecoverable state.

This change fixes that by making sure that whenever a channel
is being terminated, the session and tcon are marked for
reconnect too. This could mean a few redundant tree connect
calls to the server, but considering that this is not a frequent
event, we should be okay.

Fixes: ee1d21794e55 ("cifs: handle when server stops supporting multichannel")
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>