]> git.baikalelectronics.ru Git - kernel.git/commit
smb3: do not attempt multichannel to server which does not support it
authorSteve French <stfrench@microsoft.com>
Sat, 8 May 2021 01:00:41 +0000 (20:00 -0500)
committerSteve French <stfrench@microsoft.com>
Sat, 8 May 2021 15:50:53 +0000 (10:50 -0500)
commit44a68435f472750a2453e5733f198460960145ac
tree68ad663a5a4d6dc5963ff6e1c85dc09705105b3f
parentdc49d2b0cf94b0f1ae16b21ef205907619d93d48
smb3: do not attempt multichannel to server which does not support it

We were ignoring CAP_MULTI_CHANNEL in the server response - if the
server doesn't support multichannel we should not be attempting it.

See MS-SMB2 section 3.2.5.2

Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-By: Tom Talpey <tom@talpey.com>
Cc: <stable@vger.kernel.org> # v5.8+
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/sess.c