BUG: https://bugzilla.samba.org/show_bug.cgi?id=11897
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
break_info.received_transport = tree->session->transport;
SMB_ASSERT(tree->session->transport == transport);
+ if (break_info.oplock_skip_ack) {
+ return true;
+ }
+
req = smb2_break_send(tree, &break_info.br);
req->async.fn = torture_oplock_ack_callback;
req->async.private_data = NULL;
struct break_info {
struct torture_context *tctx;
+ bool oplock_skip_ack;
struct smb2_handle handle;
uint8_t level;
struct smb2_break br;