diff options
Diffstat (limited to 'source3/smbd/process.c')
-rw-r--r-- | source3/smbd/process.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 485439a089..3e5cee83c5 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -623,9 +623,15 @@ void remove_deferred_open_smb_message(uint16 mid) void schedule_deferred_open_smb_message(uint16 mid) { + struct smbd_server_connection *sconn = smbd_server_conn; struct pending_message_list *pml; int i = 0; + if (sconn->allow_smb2) { + schedule_deferred_open_smb2_message(mid); + return; + } + for (pml = deferred_open_queue; pml; pml = pml->next) { uint16 msg_mid = SVAL(pml->buf.data,smb_mid); |