[PATCH] Two small preparatory patches for multi-channel
Ralph Boehme
rb at sernet.de
Wed Oct 7 06:05:41 UTC 2015
Hi
On Tue, Oct 06, 2015 at 12:54:49PM +0200, Ralph Böhme wrote:
> attached are two small patches with preparatory work for
> multi-channel.
attached is an additional patch with a hunk that somehow got lost.
Please review&push if ok.
-Ralph
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de,mailto:kontakt@sernet.de
-------------- next part --------------
From aa13e3a20f2e82ca76855bddfd722dd5151eaf33 Mon Sep 17 00:00:00 2001
From: Ralph Boehme <slow at samba.org>
Date: Wed, 7 Oct 2015 06:55:44 +0100
Subject: [PATCH] s3:smbd: pass expected_seq_low to smbd_initialize_smb2
This is in preperation of multi-channel connection passing. This commit
should have been part of 1bb46da.
Signed-off-by: Ralph Boehme <slow at samba.org>
---
source3/smbd/smb2_server.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index 7120ce5..29131ea 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -3161,7 +3161,7 @@ void smbd_smb2_process_negprot(struct smbXsrv_connection *xconn,
DEBUG(10,("smbd_smb2_first_negprot: packet length %u\n",
(unsigned int)size));
- status = smbd_initialize_smb2(xconn, 0);
+ status = smbd_initialize_smb2(xconn, expected_seq_low);
if (!NT_STATUS_IS_OK(status)) {
smbd_server_connection_terminate(xconn, nt_errstr(status));
return;
--
2.1.0
More information about the samba-technical
mailing list