diff options
author | Andrew Tridgell <tridge@samba.org> | 2007-10-22 16:41:11 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2007-10-22 16:41:11 +1000 |
commit | 8e22bca5cab9a5d28e45c11de8844c6c7a24d5e3 (patch) | |
tree | 740576ddb4d93d01d2d789e90eb668970e285dab /ctdb/tcp/ctdb_tcp.h | |
parent | 2d8afd85d5b851f979169aac1d9e9a590246d785 (diff) | |
download | samba-8e22bca5cab9a5d28e45c11de8844c6c7a24d5e3.tar.gz samba-8e22bca5cab9a5d28e45c11de8844c6c7a24d5e3.tar.xz samba-8e22bca5cab9a5d28e45c11de8844c6c7a24d5e3.zip |
fixed a double close of a socket, leading to an EPOLL error
(This used to be ctdb commit bbe8ad842bdfedd37ef14a6be07ad939113fe9b1)
Diffstat (limited to 'ctdb/tcp/ctdb_tcp.h')
-rw-r--r-- | ctdb/tcp/ctdb_tcp.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |