HACK SMB_DIRECT_IO_MAX_DATA 1364
authorStefan Metzmacher <metze@samba.org>
Fri, 30 Sep 2016 00:57:35 +0000 (02:57 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 1 Jun 2018 12:35:09 +0000 (14:35 +0200)
libcli/smb/smb_direct.c

index b54044b0e570d1fdff0cfbba93d7a6cac5cc5547..d5c87a2400488a9d553062131bcead89e6a6fe95 100644 (file)
@@ -102,7 +102,8 @@ struct smb_direct_connection {
 
 struct smb_direct_connection *smb_direct_conn;
 
-#define SMB_DIRECT_IO_MAX_DATA 8192
+//#define SMB_DIRECT_IO_MAX_DATA 8192
+#define SMB_DIRECT_IO_MAX_DATA 1364
 #define SMB_DIRECT_DATA_MIN_HDR_SIZE 0x14
 #define SMB_DIRECT_DATA_OFFSET NDR_ROUND(SMB_DIRECT_DATA_MIN_HDR_SIZE, 8)