Allow parsing vers=3.11 on cifs mount
authorSteve French <steve.french@primarydata.com>
Thu, 18 Dec 2014 04:52:58 +0000 (22:52 -0600)
committerSteve French <steve.french@primarydata.com>
Sun, 28 Jun 2015 03:23:32 +0000 (20:23 -0700)
Parses and recognizes "vers=3.1.1" on cifs mount and allows sending
0x0311 as a new CIFS/SMB3 dialect. Subsequent patches will add
the new negotiate contexts and updated session setup

Reviewed-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: Steve French <steve.french@primarydata.com>
fs/cifs/Kconfig
fs/cifs/cifsglob.h
fs/cifs/connect.c
fs/cifs/smb2ops.c
fs/cifs/smb2pdu.c
fs/cifs/smb2pdu.h

index a2172f3..e7b478b 100644 (file)
@@ -192,6 +192,15 @@ config CIFS_SMB2
          options are also slightly simpler (compared to CIFS) due
          to protocol improvements.
 
+config CIFS_SMB311
+       bool "SMB3.1.1 network file system support (Experimental)"
+       depends on CIFS_SMB2 && INET
+
+       help
+         This enables experimental support for the newest, SMB3.1.1, dialect.
+         This dialect includes improved security negotiation features.
+         If unsure, say N
+
 config CIFS_FSCACHE
          bool "Provide CIFS client caching support"
          depends on CIFS=m && FSCACHE || CIFS=y && FSCACHE=y
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge