[PATCH] Two small preparatory patches for multi-channel

Stefan Metzmacher metze at samba.org
Wed Oct 7 06:42:57 UTC 2015


Hi Michael and Ralph,

here's the missing hunk of the 2nd patch...

Please review and push.

Thanks!
metze

Am 06.10.2015 um 17:57 schrieb Michael Adam:
> Currently reviewing/testing.
> Will push later.
> 
> Michael
> 
> On 2015-10-06 at 12:54 +0200, Ralph Böhme wrote:
>> Hi
>>
>> attached are two small patches with preparatory work for
>> multi-channel.
>>
>> The patches already have the necessary two team-member votes, so I'll
>> push later on if I don't hear any objections.
>>
>> Two patches on-top of the multi-channel WIP branch then use these
>> changes, they can be found in my slow-multi-channel branch. :)
>>
>> 6707ede STEP2: AFTER: TMP more DEBUG smbXsrv_client_connection_pass_loop
>> 3c8d583 STEP2: AFTER: TMP more DEBUG smbXsrv_client_connection_pass_loop, remove from smbXsrv.idl
>>
>> -slow
> 
-------------- next part --------------
From 75c0684da1c0768ec1307e5c07a38551249890c5 Mon Sep 17 00:00:00 2001
From: Stefan Metzmacher <metze at samba.org>
Date: Wed, 7 Oct 2015 08:40:55 +0200
Subject: [PATCH] s3:smb2_server: pass expected_seq_low down to
 smbd_initialize_smb2()

Signed-off-by: Stefan Metzmacher <metze 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;
-- 
1.9.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20151007/682bf219/signature.sig>


More information about the samba-technical mailing list