summaryrefslogtreecommitdiff
path: root/source3/smbd/notify.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/notify.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/notify.c')
-rw-r--r--source3/smbd/notify.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c
index a0398d5a10..e7903719ad 100644
--- a/source3/smbd/notify.c
+++ b/source3/smbd/notify.c
@@ -197,6 +197,9 @@ BOOL change_notify_set(char *inbuf, files_struct *fsp, connection_struct *conn,
DLIST_ADD(change_notify_list, cnbp);
+ /* Push the MID of this packet on the signing queue. */
+ srv_defer_sign_response(SVAL(inbuf,smb_mid));
+
return True;
}