summaryrefslogtreecommitdiffstats
path: root/source3/smbd/smb2_server.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-06-02 16:57:08 -0700
committerJeremy Allison <jra@samba.org>2010-06-02 16:57:08 -0700
commitcb1590e410a3b8fd366f4670786046566b5f4f9c (patch)
tree5bf0b1ced3236f43448f0ee1033e6b6e0647ec3f /source3/smbd/smb2_server.c
parent53e465062249bc91e53eb8d5fa54034933a650af (diff)
downloadsamba-cb1590e410a3b8fd366f4670786046566b5f4f9c.tar.gz
samba-cb1590e410a3b8fd366f4670786046566b5f4f9c.tar.xz
samba-cb1590e410a3b8fd366f4670786046566b5f4f9c.zip
Ensure we remove SMB2 cancel requests from the active queue
now we don't remove them in the talloc destructor. Jeremy.
Diffstat (limited to 'source3/smbd/smb2_server.c')
-rw-r--r--source3/smbd/smb2_server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index 7a2a32a9dce..df2557080bc 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -911,6 +911,7 @@ static NTSTATUS smbd_smb2_request_process_cancel(struct smbd_smb2_request *req)
* we don't need the request anymore
* cancel requests never have a response
*/
+ DLIST_REMOVE(req->sconn->smb2.requests, req);
TALLOC_FREE(req);
for (cur = sconn->smb2.requests; cur; cur = cur->next) {