diff options
Diffstat (limited to 'ctdb/common/ctdb.c')
-rw-r--r-- | ctdb/common/ctdb.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ctdb/common/ctdb.c b/ctdb/common/ctdb.c index 6bd2fda529..62788d0530 100644 --- a/ctdb/common/ctdb.c +++ b/ctdb/common/ctdb.c @@ -376,7 +376,13 @@ static void ctdb_defer_packet(struct ctdb_context *ctdb, struct ctdb_req_header DEBUG(0,("Error copying deferred packet to self\n")); return; } +#if 0 + /* use this to put packets directly into our recv function */ + ctdb_recv_pkt(q->ctdb, (uint8_t *)q->hdr, q->hdr->length); + talloc_free(q); +#else event_add_timed(ctdb->ev, q, timeval_zero(), queue_next_trigger, q); +#endif } /* |