summaryrefslogtreecommitdiff
path: root/src/sync-ftfw.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2008-12-13 16:17:38 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2008-12-13 16:17:38 +0100
commitb442b832971f25ad573c6765bcf63640b59342a3 (patch)
treed8bff75d8bcc8fa2592b35e6998763824b400b52 /src/sync-ftfw.c
parent8d6efef0daed05925bf9b13c21948afa651482a5 (diff)
downloadconntrack-tools-b442b832971f25ad573c6765bcf63640b59342a3.tar.gz
conntrack-tools-b442b832971f25ad573c6765bcf63640b59342a3.zip
ftfw: do not check for data messages in tx_queue_xmit
This patch removes a IS_DATA(net) in tx_queue_xmit which is not possible to happen anymore since there are no chances to have data in the transmission queue (instead it is all in the transmission list). Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/sync-ftfw.c')
-rw-r--r--src/sync-ftfw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sync-ftfw.c b/src/sync-ftfw.c
index 05475ab..1f445e2 100644
--- a/src/sync-ftfw.c
+++ b/src/sync-ftfw.c
@@ -499,7 +499,7 @@ static int tx_queue_xmit(void *data1, const void *data2)
mcast_buffered_send_netmsg(STATE_SYNC(mcast_client), net);
HDR_NETWORK2HOST(net);
- if (IS_DATA(net) || IS_ACK(net) || IS_NACK(net))
+ if (IS_ACK(net) || IS_NACK(net))
queue_add(rs_queue, net, net->len);
queue_del(tx_queue, net);