]> 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)
commitf1cec31d70f24113a2d3b37e8ab79ae45ee48005
treeadc602a111c9119ae66c0562a9eccbe0679b38de
parent975aa1d50d3e26a00db0b94077ba1ec51ba24cf7
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 78c89f85fae4aa1123e1c23ead379ae08945cabe
("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