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:
f6e49b7
)
DISCUSS fix LARGE_WRITEX_BUFFER_SIZE
author
Stefan Metzmacher
<metze@samba.org>
Fri, 6 Dec 2013 12:56:45 +0000
(13:56 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 12 Mar 2014 23:04:57 +0000
(
00:04
+0100)
source3/include/smb.h
patch
|
blob
|
history
diff --git
a/source3/include/smb.h
b/source3/include/smb.h
index aab4ff5396b9414bd3bd919fadfdc594730ccdf3..05b1f8de57329c3e47c596be1d534d23301dd882 100644
(file)
--- a/
source3/include/smb.h
+++ b/
source3/include/smb.h
@@
-34,7
+34,7
@@
#define SAFETY_MARGIN 1024
#define LARGE_WRITEX_HDR_SIZE 65
-#define LARGE_WRITEX_BUFFER_SIZE (
128*1024
)
+#define LARGE_WRITEX_BUFFER_SIZE (
0x1FFFF - LARGE_WRITEX_HDR_SIZE
)
#define NMB_PORT 137
#define DGRAM_PORT 138