CREATE in a compound CREATE/NOTIFY sequence was being passed through set_operation_cr...
commit7dff32fb7263cfdce015ffd66ea9997685edf817
authorKen Harris <Ken.Harris@mathworks.com>
Mon, 20 Dec 2010 18:44:48 +0000 (20 10:44 -0800)
committerJeremy Allison <jra@samba.org>
Mon, 20 Dec 2010 19:14:35 +0000 (20 11:14 -0800)
tree84c24926c191ff78a22ec900734b3e20855065b1
parenteb03383e8a51f489f30412f7be23aace4a36c24c
CREATE in a compound CREATE/NOTIFY sequence was being passed through set_operation_credits()
twice (ultimately perhaps because of bug 7331 involving this compound sequence and the need
to be ready for any incoming CANCEL of the NOTIFY). This had the server thinking it had
granted more credit than it actually had, which lead to zero-credits being granted in interim
NOTIFY responses.
(cherry picked from commit 0a9b65262c76fdad8331fbc580dbe578a403407b)
source3/smbd/smb2_server.c