git.samba.org
/
tridge
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dac14e
)
s3-loadparm: mark a few parameters as having P_BYTES type
author
Andrew Tridgell
<tridge@samba.org>
Wed, 30 Nov 2011 06:29:10 +0000
(17:29 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 9 Feb 2012 04:41:49 +0000
(15:41 +1100)
this fixes a problem with "max xmit = 32K" resulting in a maximum SMB
transmit size of 32 bytes, which makes for some very interesting
network traces!
This is what was causing smbtorture to consume gigabytes of memory in
the rpc.schannel test
source3/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source3/param/loadparm.c
b/source3/param/loadparm.c
index 0c769e61d222ccffcf93754eeae861f66245a686..22b07b2865928a6ea1cba73e57935a1c00e70dfd 100644
(file)
--- a/
source3/param/loadparm.c
+++ b/
source3/param/loadparm.c
@@
-1529,7
+1529,7
@@
static struct parm_struct parm_table[] = {
},
{
.label = "aio write behind",
- .type = P_
STRING
,
+ .type = P_
BYTES
,
.p_class = P_LOCAL,
.offset = LOCAL_VAR(szAioWriteBehind),
.special = NULL,