git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
queue up packets to nodes that aren't connected yet. This avoids a
[vlendec/samba-autobuild/.git]
/
ctdb
/
tcp
/
tcp_connect.c
diff --git
a/ctdb/tcp/tcp_connect.c
b/ctdb/tcp/tcp_connect.c
index 9fc322fde5bf7a91f8d2caf1cad2d5724da6e320..6074b646aa4e9776474f1d52209b8ff89bd97379 100644
(file)
--- a/
ctdb/tcp/tcp_connect.c
+++ b/
ctdb/tcp/tcp_connect.c
@@
-63,6
+63,10
@@
static void ctdb_node_connect_write(struct event_context *ev, struct fd_event *f
/* tell the ctdb layer we are connected */
node->ctdb->upcalls->node_connected(node);
+
+ if (tnode->queue) {
+ EVENT_FD_WRITEABLE(tnode->fde);
+ }
}
/*