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:
9c69a23
)
s3:smb2_server: start the connection with one credit granted to the client
author
Stefan Metzmacher
<metze@samba.org>
Tue, 26 Jun 2012 12:23:12 +0000
(14:23 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Tue, 24 Jul 2012 18:50:01 +0000
(20:50 +0200)
metze
(cherry picked from commit
0b8eac9b79197c4659a5738f1b9399b3c88f2f8d
)
source3/smbd/smb2_server.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_server.c
b/source3/smbd/smb2_server.c
index 8a5d81f87b227a9dc8e09f59bc1233e39d2eb6fe..017fe7ed6e9cf2fa9aaccd5e1111769d68522d60 100644
(file)
--- a/
source3/smbd/smb2_server.c
+++ b/
source3/smbd/smb2_server.c
@@
-114,7
+114,7
@@
static NTSTATUS smbd_initialize_smb2(struct smbd_server_connection *sconn)
sconn->smb2.sessions.limit = 0x0000FFFE;
sconn->smb2.sessions.list = NULL;
sconn->smb2.seqnum_low = 0;
- sconn->smb2.credits_granted =
0
;
+ sconn->smb2.credits_granted =
1
;
sconn->smb2.max_credits = lp_smb2_max_credits();
sconn->smb2.credits_bitmap = bitmap_talloc(sconn,
DEFAULT_SMB2_MAX_CREDIT_BITMAP_FACTOR*sconn->smb2.max_credits);