s3:smb2_server: use req->xconn in smbd_smb2_request_process_cancel()
authorStefan Metzmacher <metze@samba.org>
Wed, 11 Jun 2014 09:29:01 +0000 (11:29 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 6 Aug 2014 07:51:13 +0000 (09:51 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/smbd/smb2_server.c

index b34bea8cf4972c4f820fdc1220ae2d99fe68b665..6df8f0e098968a804a6478f9f619de8b31378881 100644 (file)
@@ -1608,8 +1608,7 @@ static void smbd_smb2_request_pending_timer(struct tevent_context *ev,
 
 static NTSTATUS smbd_smb2_request_process_cancel(struct smbd_smb2_request *req)
 {
-       struct smbd_server_connection *sconn = req->sconn;
-       struct smbXsrv_connection *xconn = sconn->conn;
+       struct smbXsrv_connection *xconn = req->xconn;
        struct smbd_smb2_request *cur;
        const uint8_t *inhdr;
        uint32_t flags;