git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1828a3
)
HACK SMB_DIRECT_IO_MAX_DATA 1364
author
Stefan Metzmacher
<metze@samba.org>
Fri, 30 Sep 2016 00:57:35 +0000
(
02:57
+0200)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 1 Jun 2018 12:35:09 +0000
(14:35 +0200)
libcli/smb/smb_direct.c
patch
|
blob
|
history
diff --git
a/libcli/smb/smb_direct.c
b/libcli/smb/smb_direct.c
index b54044b0e570d1fdff0cfbba93d7a6cac5cc5547..d5c87a2400488a9d553062131bcead89e6a6fe95 100644
(file)
--- a/
libcli/smb/smb_direct.c
+++ b/
libcli/smb/smb_direct.c
@@
-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)