From 8e22bca5cab9a5d28e45c11de8844c6c7a24d5e3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 22 Oct 2007 16:41:11 +1000 Subject: fixed a double close of a socket, leading to an EPOLL error (This used to be ctdb commit bbe8ad842bdfedd37ef14a6be07ad939113fe9b1) --- ctdb/tcp/ctdb_tcp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ctdb/tcp/ctdb_tcp.h') diff --git a/ctdb/tcp/ctdb_tcp.h b/ctdb/tcp/ctdb_tcp.h index 3a1285f47c2..7d47cbcfe14 100644 --- a/ctdb/tcp/ctdb_tcp.h +++ b/ctdb/tcp/ctdb_tcp.h @@ -50,5 +50,6 @@ void ctdb_tcp_node_connect(struct event_context *ev, struct timed_event *te, struct timeval t, void *private_data); void ctdb_tcp_read_cb(uint8_t *data, size_t cnt, void *args); void ctdb_tcp_tnode_cb(uint8_t *data, size_t cnt, void *private_data); +void ctdb_tcp_stop_connection(struct ctdb_node *node); #define CTDB_TCP_ALIGNMENT 8 -- cgit