cifs: handle when server stops supporting multichannel
authorShyam Prasad N <sprasad@microsoft.com>
Fri, 13 Oct 2023 11:40:09 +0000 (11:40 +0000)
committerSteve French <stfrench@microsoft.com>
Fri, 10 Nov 2023 15:33:19 +0000 (09:33 -0600)
commitee1d21794e55ab76505745d24101331552182002
treefd10196528ecb09da9177f173cbed942591f644e
parent705fc522fe9d58848c253ee0948567060f36e2a7
cifs: handle when server stops supporting multichannel

When a server stops supporting multichannel, we will
keep attempting reconnects to the secondary channels today.
Avoid this by freeing extra channels when negotiate
returns no multichannel support.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifsglob.h
fs/smb/client/cifsproto.h
fs/smb/client/connect.c
fs/smb/client/sess.c
fs/smb/client/smb2pdu.c
fs/smb/client/transport.c