s3:smb2_server: make sure we don't grant more credits than we allow
commitc96dc10849c52cae7d3bfddce212a2595563081e
authorStefan Metzmacher <metze@samba.org>
Wed, 27 Jun 2012 13:33:43 +0000 (27 15:33 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 24 Jul 2012 18:50:14 +0000 (24 20:50 +0200)
treec08992cc2d140be73f485c9122b5cb71cfba4ef6
parentc3559ee48fe3da59dba3b5afb69a45ef15475fa0
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
(similar to commit ee8ae459aea6879377b5510851a6dc673cf72aad)
source3/smbd/globals.h
source3/smbd/smb2_server.c