diff options
author | Steve French <stfrench@microsoft.com> | 2019-01-03 09:37:21 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-01-03 21:45:58 +0100 |
commit | d5c7076b772ad7dcdb92303397b36aee8fa0d25d (patch) | |
tree | a72d03762f58afc1eade699df3cf4d05fbfbcc00 /fs/cifs/smb2pdu.h | |
parent | cifs: fix confusing warning message on reconnect (diff) | |
download | linux-d5c7076b772ad7dcdb92303397b36aee8fa0d25d.tar.xz linux-d5c7076b772ad7dcdb92303397b36aee8fa0d25d.zip |
smb3: add smb3.1.1 to default dialect list
SMB3.1.1 dialect has additional security (among other) features
and should be requested when mounting to modern servers so it
can be used if the server supports it.
Add SMB3.1.1 to the default list of dialects requested.
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Diffstat (limited to 'fs/cifs/smb2pdu.h')
-rw-r--r-- | fs/cifs/smb2pdu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2pdu.h b/fs/cifs/smb2pdu.h index 05dea6750c33..7a2d0a2255e6 100644 --- a/fs/cifs/smb2pdu.h +++ b/fs/cifs/smb2pdu.h @@ -898,7 +898,7 @@ struct validate_negotiate_info_req { __u8 Guid[SMB2_CLIENT_GUID_SIZE]; __le16 SecurityMode; __le16 DialectCount; - __le16 Dialects[3]; /* BB expand this if autonegotiate > 3 dialects */ + __le16 Dialects[4]; /* BB expand this if autonegotiate > 4 dialects */ } __packed; struct validate_negotiate_info_rsp { |