s3:smb2_server: make sure we don't grant more credits than we allow
commitee8ae459aea6879377b5510851a6dc673cf72aad
authorStefan Metzmacher <metze@samba.org>
Wed, 27 Jun 2012 13:33:43 +0000 (27 15:33 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 28 Jun 2012 22:14:54 +0000 (29 00:14 +0200)
tree960cd37312c85a9dc99603a302c7f949df2c76aa
parent4fe41c0bb14f6ae7e52aa7f180e66c7695eb6fa0
s3:smb2_server: make sure we don't grant more credits than we allow

If the client hasn't consumed the lowest seqnum, but the distance
between lowest and highest seqnum has reached max credits.

In that case we should stop granting credits.

metze
source3/smbd/globals.h
source3/smbd/smb2_server.c