git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ce7f13
)
Allow using smbd_smb2_flush_send_queue() for oplock break requests
author
Sachin Prabhu
<sprabhu@redhat.com>
Thu, 22 Mar 2018 17:31:58 +0000
(17:31 +0000)
committer
Sachin Prabhu
<sprabhu@redhat.com>
Tue, 17 Jul 2018 20:46:27 +0000
(21:46 +0100)
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
source3/smbd/smb2_server.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_server.c
b/source3/smbd/smb2_server.c
index c698c903d4e71bcdd7e6e36d3ab1b2075a482374..3f517fdbd202f0c490a19a74ede953f19f9150fe 100644
(file)
--- a/
source3/smbd/smb2_server.c
+++ b/
source3/smbd/smb2_server.c
@@
-3775,7
+3775,7
@@
static NTSTATUS smbd_smb2_check_ack_queue(struct smbXsrv_connection *xconn)
break;
}
- DLIST_REMOVE(xconn->smb2.ack_queue, cur);
+ DLIST_REMOVE(xconn->smb2.ack_queue, cur);
tevent_wait_done(cur->ack.req);
}
@@
-3919,7
+3919,7
@@
static NTSTATUS smbd_smb2_flush_send_queue(struct smbXsrv_connection *xconn)
xconn->smb2.send_queue_len--;
DLIST_REMOVE(xconn->smb2.send_queue, e);
- if (
0 &&
e->ack.req != NULL) {
+ if (e->ack.req != NULL) {
e->ack.last_byte = xconn->smb2.sent_bytes;
DLIST_ADD_END(xconn->smb2.ack_queue, e);
continue;