]> git.baikalelectronics.ru Git - kernel.git/commit
smb3: on reconnect set PreviousSessionId field
authorSteve French <stfrench@microsoft.com>
Thu, 31 May 2018 20:19:25 +0000 (15:19 -0500)
committerSteve French <stfrench@microsoft.com>
Fri, 1 Jun 2018 02:23:07 +0000 (21:23 -0500)
commitcc0a8a062234f884e1f896a14f0d7bd767c9f75d
treeadc602a111c9119ae66c0562a9eccbe0679b38de
parent9244fc87510ee91f12c9203b2a1685f924a2468d
smb3: on reconnect set PreviousSessionId field

The server detects reconnect by the (non-zero) value in PreviousSessionId
of SMB2/SMB3 SessionSetup request, but this behavior regressed due
to commit 89c24464892e6f49d92f94f01de7b46e83c92c8e
("SMB2: Separate RawNTLMSSP authentication from SMB2_sess_setup")

CC: Stable <stable@vger.kernel.org>
CC: Sachin Prabhu <sprabhu@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
fs/cifs/smb2pdu.c