We need to start off with smb2.credits_granted == 0. That way
authorJeremy Allison <jra@samba.org>
Mon, 13 Dec 2010 21:34:50 +0000 (13:34 -0800)
committerJeremy Allison <jra@samba.org>
Mon, 13 Dec 2010 21:34:50 +0000 (13:34 -0800)
commit6ce365b238755ccd64b1c2aca0933f8e717300b0
treebac418ad7bfff311cfab905f57ced579c2a3693b
parent27a47eb9fc869a1ee6c18f4165e1dccc9a8bee26
We need to start off with smb2.credits_granted == 0. That way
when processing the faked up SMB2 NegProt from the SMB1 packet we
always allocate one credit on reply.

Jeremy.
source3/smbd/smb2_server.c