From a504000b08111f988c97e8f0b84e34a96add542e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 20 Jun 2014 13:39:36 +0000 Subject: [PATCH] smbd: Fix bug 10593 --- source3/smbd/smb2_create.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c index 4e2e6bc..440c615 100644 --- a/source3/smbd/smb2_create.c +++ b/source3/smbd/smb2_create.c @@ -1344,7 +1344,14 @@ bool schedule_deferred_open_message_smb2( DEBUG(10,("schedule_deferred_open_message_smb2: " "can't find mid %llu\n", (unsigned long long)mid )); - return false; + + /* + * Bug 10593: We have to ignore this as an error because the + * request might have been cancelled. The real fix is to + * discard the defer_open dbwrap_watcher at cancel + * time. Working on that.... :-) + */ + return true; } if (!smb2req->subreq) { return false; -- 1.8.1.2