summaryrefslogtreecommitdiff
path: root/source3/smbd/process.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-07-24 06:56:56 +0000
committerJeremy Allison <jra@samba.org>2003-07-24 06:56:56 +0000
commit0c9433c03188a2d1b49318dd8535d10b7805ce42 (patch)
tree8c6c593d81cb1876a6fb99d4dbf3a8d03da4601e /source3/smbd/process.c
parent08634e26e45d3dd935727e43587a137c72417cd3 (diff)
downloadsamba-0c9433c03188a2d1b49318dd8535d10b7805ce42.tar.gz
samba-0c9433c03188a2d1b49318dd8535d10b7805ce42.tar.bz2
samba-0c9433c03188a2d1b49318dd8535d10b7805ce42.zip
Ensure everywhere we defer an incoming SMB request (blocking lock queue,
in oplock break state, change notify queue) we also push the MID onto the deferred signing queue. Tomorrow I will test this with valgrind and oplock tests. Jeremy. (This used to be commit 33a377f3726c85379ba5b962dd7c8ead337b892f)
Diffstat (limited to 'source3/smbd/process.c')
-rw-r--r--source3/smbd/process.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index b025503da4..fb85f38119 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -87,6 +87,9 @@ static BOOL push_message(ubi_slList *list_head, char *buf, int msg_len)
ubi_slAddTail( list_head, msg);
+ /* Push the MID of this packet on the signing queue. */
+ srv_defer_sign_response(SVAL(buf,smb_mid));
+
return True;
}