summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2pdu.h
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2016-09-20 22:56:13 -0500
committerSteve French <smfrench@gmail.com>2016-10-12 12:08:31 -0500
commitc2afb8147e69819885493edf3a7c1ce03aaf2d4e (patch)
tree280a23800e282ba1a79a3297c4cfdbcf241975ff /fs/cifs/smb2pdu.h
parent7d414f396c91a3382e51cf628c1cf0709ad0188b (diff)
downloadlinux-c2afb8147e69819885493edf3a7c1ce03aaf2d4e.tar.bz2
Set previous session id correctly on SMB3 reconnect
Signed-off-by: Steve French <steve.french@primarydata.com> CC: Stable <stable@vger.kernel.org> Reported-by: David Goebel <davidgoe@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2pdu.h')
-rw-r--r--fs/cifs/smb2pdu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2pdu.h b/fs/cifs/smb2pdu.h
index ff88d9feb01e..fd3709e8de33 100644
--- a/fs/cifs/smb2pdu.h
+++ b/fs/cifs/smb2pdu.h
@@ -276,7 +276,7 @@ struct smb2_sess_setup_req {
__le32 Channel;
__le16 SecurityBufferOffset;
__le16 SecurityBufferLength;
- __le64 PreviousSessionId;
+ __u64 PreviousSessionId;
__u8 Buffer[1]; /* variable length GSS security buffer */
} __packed;