diff options
author | Jeremy Allison <jra@samba.org> | 2010-04-18 20:23:54 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-04-18 20:23:54 -0700 |
commit | 59fa1e1890e0a007f56776d9539bf3f1ce074a34 (patch) | |
tree | d0a19706135a161f4a195ef08159a58b0f6d71e6 /source3/smbd/dfree.c | |
parent | 058d4a21afa843241c6a91a251fb46a327037194 (diff) | |
download | samba-59fa1e1890e0a007f56776d9539bf3f1ce074a34.tar.gz samba-59fa1e1890e0a007f56776d9539bf3f1ce074a34.tar.bz2 samba-59fa1e1890e0a007f56776d9539bf3f1ce074a34.zip |
Final fix for #7331 - Compound async SMB 2 requests don't work right.
Don't free the cancelled SMB2 req early, let the cancelation
function take care of it. Return a NT_STATUS_CANCELLED when
we find and cancel a request. Fix our SMB2 error returns to
correctly set the structuresize to 9, and add the expected
zero byte (see section 2.2.2 in the SMB2 spec.).
This causes Samba to pass the test program in this bug report
that W2K8R2 fails (heh heh :-). This is because we always cause
compound requests to get to a cancelation point before dealing
with a cancel request.
Jeremy.
Diffstat (limited to 'source3/smbd/dfree.c')
0 files changed, 0 insertions, 0 deletions