Skip to contentSkip to conversation

Patch "smb3: when mounting with multichannel include it in requested capabilities" has been added to the 5.4-stable tree

DISCUSSION Greg KH 1 participant 1 message May 10, 2021 1 message not in the archive

lore
Share & tools
lore

Greg KH

author
#1 lore raw
In reply to a message not in the archive
Quoted 30 lines · On Mon, May 10, 2021 at 09:56:04AM +0200, [email protected] wrote:

This is a note to let you know that I've just added the patch titled

smb3: when mounting with multichannel include it in requested capabilities

to the 5.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
smb3-when-mounting-with-multichannel-include-it-in-requested-capabilities.patch
and it can be found in the queue-5.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 679971e7213174efb56abc8fab1299d0a88db0e8 Mon Sep 17 00:00:00 2001

From: Steve French <[email protected]>
Date: Fri, 7 May 2021 18:24:11 -0500
Subject: smb3: when mounting with multichannel include it in requested capabilities

From: Steve French <[email protected]>

commit 679971e7213174efb56abc8fab1299d0a88db0e8 upstream.

In the SMB3/SMB3.1.1 negotiate protocol request, we are supposed to advertise CAP_MULTICHANNEL capability when establishing multiple channels has been requested by the user doing the mount. See MS-SMB2 sections 2.2.3 and 3.2.5.2

Quoted 8 lines

Without setting it there is some risk that multichannel could fail if the server interpreted the field strictly.

Oops, nope, dropped from 5.4.y, sorry for the noise.

greg k-h