diff options
author | cl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk> | 2005-07-26 15:09:43 +0000 |
---|---|---|
committer | cl349@firebug.cl.cam.ac.uk <cl349@firebug.cl.cam.ac.uk> | 2005-07-26 15:09:43 +0000 |
commit | e08ecc0000058e476a61af2b503ce34580bd63bc (patch) | |
tree | 47c2f9f90c4b2231ad30b100beae2bd2ca18d473 /tools/xenstore/xenstored_core.h | |
parent | a9c1da21e112a3b0672594fd9c247214a67af10b (diff) | |
download | xen-e08ecc0000058e476a61af2b503ce34580bd63bc.tar.gz xen-e08ecc0000058e476a61af2b503ce34580bd63bc.tar.bz2 xen-e08ecc0000058e476a61af2b503ce34580bd63bc.zip |
Test and fix acknowedge_watch from returning EINVAL.
Also ensure that daemon re-xmits event if they ack wrong thing
(otherwise confused clients get stuck, as we will send no more
data while awaiting ack).
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Diffstat (limited to 'tools/xenstore/xenstored_core.h')
-rw-r--r-- | tools/xenstore/xenstored_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xenstore/xenstored_core.h b/tools/xenstore/xenstored_core.h index 2a5a2b02f5..4aae32e95e 100644 --- a/tools/xenstore/xenstored_core.h +++ b/tools/xenstore/xenstored_core.h @@ -64,7 +64,7 @@ struct connection bool can_write; /* Are we waiting for a watch event ack? */ - bool waiting_for_ack; + struct watch *waiting_for_ack; /* Buffered incoming data. */ struct buffered_data *in; |