CIFS: Fix too big maxBuf size for SMB3 mounts
[cascardo/linux.git] / fs / cifs / smb2glob.h
index c383508..bc0bb9c 100644 (file)
@@ -57,4 +57,7 @@
 #define SMB2_CMACAES_SIZE (16)
 #define SMB3_SIGNKEY_SIZE (16)
 
+/* Maximum buffer size value we can send with 1 credit */
+#define SMB2_MAX_BUFFER_SIZE 65536
+
 #endif /* _SMB2_GLOB_H */