diff options
author | Jeremy Allison <jra@samba.org> | 2003-07-24 06:56:56 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-07-24 06:56:56 +0000 |
commit | 33a377f3726c85379ba5b962dd7c8ead337b892f (patch) | |
tree | 1b20735084d56b3364dc66bc1becd91fbf56bda5 /source/smbd/notify.c | |
parent | dd83931a00ec0a2c4b78b939c54bc101ec82312f (diff) | |
download | samba-33a377f3726c85379ba5b962dd7c8ead337b892f.tar.gz samba-33a377f3726c85379ba5b962dd7c8ead337b892f.tar.xz samba-33a377f3726c85379ba5b962dd7c8ead337b892f.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.
Diffstat (limited to 'source/smbd/notify.c')
-rw-r--r-- | source/smbd/notify.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/smbd/notify.c b/source/smbd/notify.c index a0398d5a107..e7903719ada 100644 --- a/source/smbd/notify.c +++ b/source/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; } |