summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-02 16:59:15 +0100
committerVolker Lendecke <vl@samba.org>2009-11-02 17:02:20 +0100
commitd9bdd17522c6d2916aedb29721c79a9c421ec1eb (patch)
treec299fc84f0a41272905b1844c41e970372261838
parentf35a1b95aa6f50cb1bc919f4ab502ef2c38f6bf5 (diff)
downloadsamba-d9bdd17522c6d2916aedb29721c79a9c421ec1eb.tar.gz
samba-d9bdd17522c6d2916aedb29721c79a9c421ec1eb.tar.xz
samba-d9bdd17522c6d2916aedb29721c79a9c421ec1eb.zip
s3: Fix a 100% CPU loop when ctdbd dies during a traverse
-rw-r--r--source3/lib/ctdbd_conn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index 0af420412b5..ffd79c9fe1d 100644
--- a/source3/lib/ctdbd_conn.c
+++ b/source3/lib/ctdbd_conn.c
@@ -1167,6 +1167,7 @@ NTSTATUS ctdbd_traverse(uint32 db_id,
if (NT_STATUS_EQUAL(status, NT_STATUS_END_OF_FILE)) {
status = NT_STATUS_OK;
+ break;
}
if (!NT_STATUS_IS_OK(status)) {