diff options
author | Jeremy Allison <jra@samba.org> | 2010-12-21 18:07:52 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-12-21 18:07:52 -0800 |
commit | e8f7c60ec25fd6ab40357ad44baf98918346a22a (patch) | |
tree | 1f1771a09abeb25a99895f50b45b8cdfefdfce3b /source3/include | |
parent | 718c864d41827c256d73dd894c9c1a97abd212ca (diff) | |
download | samba-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')
-rw-r--r-- | source3/include/local.h | 1 |
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 |