smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context...
[samba.git] / source3 / smbd / smb2_glue.c
index 6a73ec050e246139cc688f3ac323916168394457..cccc763c3425a011a544a0182eaf4bda43973595 100644 (file)
@@ -46,6 +46,7 @@ struct smb_request *smbd_smb2_fake_smb_request(struct smbd_smb2_request *req)
        smbreq->conn = req->tcon->compat;
        smbreq->sconn = req->sconn;
        smbreq->xconn = req->xconn;
+       smbreq->ev_ctx = req->ev_ctx;
        smbreq->smbpid = (uint16_t)IVAL(inhdr, SMB2_HDR_PID);
        smbreq->flags2 = FLAGS2_UNICODE_STRINGS |
                         FLAGS2_32_BIT_ERROR_CODES |