diff options
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r-- | source3/smbd/server.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 278087b60a..e3328690b0 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -2844,6 +2844,7 @@ Allowing break to succeed regardless.\n", timestring(), fsp->name, fnum, dev, in send_smb(Client, outbuf); + /* We need this in case a readraw crosses on the wire. */ global_oplock_break = True; /* Process incoming messages. */ @@ -2879,10 +2880,6 @@ inode = %x).\n", timestring(), fsp->name, fnum, dev, inode)); } process_smb(inbuf, outbuf); - /* We only need this in case a readraw crossed on the wire. */ - if(global_oplock_break) - global_oplock_break = False; - /* * Die if we go over the time limit. */ @@ -2898,6 +2895,10 @@ inode = %x).\n", timestring(), fsp->name, fnum, dev, inode)); } } + /* We need this in case a readraw crossed on the wire. */ + if(global_oplock_break) + global_oplock_break = False; + /* * If the client did not respond we must die. */ |