summaryrefslogtreecommitdiff
path: root/source3/include/local.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-12-21 18:07:52 -0800
committerJeremy Allison <jra@samba.org>2010-12-21 18:07:52 -0800
commite8f7c60ec25fd6ab40357ad44baf98918346a22a (patch)
tree1f1771a09abeb25a99895f50b45b8cdfefdfce3b /source3/include/local.h
parent718c864d41827c256d73dd894c9c1a97abd212ca (diff)
downloadsamba-e8f7c60ec25fd6ab40357ad44baf98918346a22a.tar.gz
samba-e8f7c60ec25fd6ab40357ad44baf98918346a22a.tar.bz2
samba-e8f7c60ec25fd6ab40357ad44baf98918346a22a.zip
My algorithm for determining whan an incoming sequence number can be allowed is incorrect.
(I based it on the text in MS-SMB2, silly me :-). Fix it so incoming sequence numbers can range over the entire allowable bitmap range. This fixes a repeatable disconnect against Win7. Jeremy.
Diffstat (limited to 'source3/include/local.h')
-rw-r--r--source3/include/local.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/local.h b/source3/include/local.h
index 3014f613b2..a8889af376 100644
--- a/source3/include/local.h
+++ b/source3/include/local.h
@@ -269,5 +269,6 @@
#define DEFAULT_SMB2_MAX_WRITE (1024*1024)
#define DEFAULT_SMB2_MAX_TRANSACT (1024*1024)
#define DEFAULT_SMB2_MAX_CREDITS 128
+#define DEFAULT_SMB2_MAX_CREDIT_BITMAP_FACTOR 2
#endif