Ensure we correctly calculate reply credits over all returned
authorJeremy Allison <jra@samba.org>
Tue, 15 Nov 2011 19:27:56 +0000 (11:27 -0800)
committerJeremy Allison <jra@samba.org>
Tue, 15 Nov 2011 21:44:25 +0000 (22:44 +0100)
commit65566dfa8629136eaf0dc1491502dc651d1a4858
treeb6695ebf5ca9f45775f33460f8f7cc3d65d138f1
parentc4763385a883dcdec7f2101ae65c5a45642c247c
Ensure we correctly calculate reply credits over all returned
SMB2 replies, and do as Windows does and return the total in the
last SMB2 reply. Fixes an issue found by Christian M Ambach <christian.ambach@de.ibm.com>
(and thanks to Christian for the initial patch this was based on).
source3/smbd/smb2_server.c