cifs: handle when server starts supporting multichannel
authorShyam Prasad N <sprasad@microsoft.com>
Fri, 13 Oct 2023 11:33:21 +0000 (11:33 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Feb 2024 00:18:48 +0000 (16:18 -0800)
commit5075e9f4e0461d4ce394c6e42338fae859bd926f
treee10ecf3a2e6d8549de8c0eb649278d5676e52025
parent173ddac64b472e9f4de827a30ecfdc66a4d39604
cifs: handle when server starts supporting multichannel

[ Upstream commit 705fc522fe9d58848c253ee0948567060f36e2a7 ]

When the user mounts with multichannel option, but the
server does not support it, there can be a time in future
where it can be supported.

With this change, such a case is handled.

Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Stable-dep-of: 78e727e58e54 ("cifs: update iface_last_update on each query-and-update")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/smb/client/cifsproto.h
fs/smb/client/connect.c
fs/smb/client/smb2pdu.c