summaryrefslogtreecommitdiffstats
path: root/src/sync-ftfw.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2008-11-26 00:30:27 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2008-11-26 00:30:27 +0100
commite6832ed088eac06fee6316dd2ecb8003aa635f17 (patch)
tree1db9e9a38adea62337100c57e018b7ce9b280427 /src/sync-ftfw.c
parent22353928caf9c821e70d15c2dd827c8725f6ac40 (diff)
ftfw: remove useless ftfw_run invocation in the alive alarm handler
This patch removes a forced run of the transmission queue. This is not required since we currently have an event descriptor that indicates when to give a queue run to push pending messages. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/sync-ftfw.c')
-rw-r--r--src/sync-ftfw.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/sync-ftfw.c b/src/sync-ftfw.c
index 598945f..abba1fe 100644
--- a/src/sync-ftfw.c
+++ b/src/sync-ftfw.c
@@ -120,8 +120,6 @@ static void tx_queue_add_ctlmsg(uint32_t flags, uint32_t from, uint32_t to)
write_evfd(STATE_SYNC(evfd));
}
-static void ftfw_run(void);
-
/* this function is called from the alarm framework */
static void do_alive_alarm(struct alarm_block *a, void *data)
{
@@ -133,10 +131,6 @@ static void do_alive_alarm(struct alarm_block *a, void *data)
ack_from_set = 0;
} else
tx_queue_add_ctlmsg(NET_F_ALIVE, 0, 0);
-
- /* TODO: no need for buffered send, extracted from run_sync() */
- ftfw_run();
- mcast_buffered_pending_netmsg(STATE_SYNC(mcast_client));
}
static int ftfw_init(void)