From cb1590e410a3b8fd366f4670786046566b5f4f9c Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 2 Jun 2010 16:57:08 -0700 Subject: Ensure we remove SMB2 cancel requests from the active queue now we don't remove them in the talloc destructor. Jeremy. --- source3/smbd/smb2_server.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/smbd/smb2_server.c') 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) { -- cgit