summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-06-11 11:29:01 +0200
committerMichael Adam <obnox@samba.org>2014-08-06 09:51:13 +0200
commit65ad96a8410bf29a49d0260b7fa6edb41436c334 (patch)
treee10051547f1cec40fb4f326f41b42796daf2ff3e
parentcedf403bcfb018be1a3d8e05bd8c41ffe3e663fc (diff)
downloadsamba-65ad96a8410bf29a49d0260b7fa6edb41436c334.tar.gz
samba-65ad96a8410bf29a49d0260b7fa6edb41436c334.tar.xz
samba-65ad96a8410bf29a49d0260b7fa6edb41436c334.zip
s3:smb2_server: use req->xconn in smbd_smb2_request_process_cancel()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r--source3/smbd/smb2_server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index b34bea8cf4..6df8f0e098 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -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;