git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cf1347
)
s3-ctdb: Allow ctdb_read_req to read any reqid
author
Volker Lendecke
<vl@samba.org>
Wed, 26 Oct 2011 08:58:25 +0000
(10:58 +0200)
committer
Volker Lendecke
<vlendec@samba.org>
Thu, 27 Oct 2011 18:28:31 +0000
(20:28 +0200)
source3/lib/ctdbd_conn.c
patch
|
blob
|
history
diff --git
a/source3/lib/ctdbd_conn.c
b/source3/lib/ctdbd_conn.c
index d4786659d0d6035b294998d245f36afea5dfeb15..f94860a76299d7da8f627080a41784cc9076d8f7 100644
(file)
--- a/
source3/lib/ctdbd_conn.c
+++ b/
source3/lib/ctdbd_conn.c
@@
-499,7
+499,7
@@
static NTSTATUS ctdb_read_req(struct ctdbd_connection *conn, uint32 reqid,
goto next_pkt;
}
- if (
hdr->reqid != reqid
) {
+ if (
(reqid != 0) && (hdr->reqid != reqid)
) {
/* we got the wrong reply */
DEBUG(0,("Discarding mismatched ctdb reqid %u should have "
"been %u\n", hdr->reqid, reqid));