As we currently don't attempt to cancel the internal aio request, we
must ignore the SMB2 cancel request and continue to process the SMB2
request, cf MS-SM2 3.3.5.16:
If the target request is not successfully canceled, processing of the
target request MUST continue and no response is sent to the cancel
request.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13667
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
+++ /dev/null
-^samba3.smb2.aio_delay.aio_cancel\(nt4_dc\)
}
/*
- * We let the aio request run. Setting fsp to NULL has the
- * effect that the _done routines don't send anything out.
+ * We let the aio request run and don't try to cancel it which means
+ * processing of the SMB2 request must continue as normal, cf MS-SMB2
+ * 3.3.5.16:
+ *
+ * If the target request is not successfully canceled, processing of
+ * the target request MUST continue and no response is sent to the
+ * cancel request.
*/
- aio_ex->fsp = NULL;
- return true;
+ return false;
}
static void aio_pread_smb2_done(struct tevent_req *req);