From 406e412ab681ba08ffdc182e999fb73a63abbbde 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 Bug: https://bugzilla.samba.org/show_bug.cgi?id=10593 PANIC: assert failed at ../source3/smbd/open.c(1582): ret --- 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 2c35559d215..e6f087cd448 100644 --- a/source3/smbd/smb2_create.c +++ b/source3/smbd/smb2_create.c @@ -1272,7 +1272,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; -- 2.11.4.GIT