[netfilter-cvslog] r3571 - branches/netfilter-ha/linux-2.6/ct_sync

hidden at netfilter.org hidden at netfilter.org
Tue Jan 4 23:59:14 CET 2005


Author: hidden at netfilter.org
Date: 2005-01-04 23:59:14 +0100 (Tue, 04 Jan 2005)
New Revision: 3571

Modified:
   branches/netfilter-ha/linux-2.6/ct_sync/ct_sync_main.c
Log:
Removed unnecessary sync packet rate guess code.

* ct_sync/ct_sync_main.c (ct_sync_rcv_thread_main): removed unused code
  guessing the end of an initsync run using the rate of incoming messages



Modified: branches/netfilter-ha/linux-2.6/ct_sync/ct_sync_main.c
===================================================================
--- branches/netfilter-ha/linux-2.6/ct_sync/ct_sync_main.c	2005-01-04 21:54:49 UTC (rev 3570)
+++ branches/netfilter-ha/linux-2.6/ct_sync/ct_sync_main.c	2005-01-04 22:59:14 UTC (rev 3571)
@@ -1149,21 +1149,6 @@
 		/* give chance for other processes to run */
 		if (pkts_received >= cts_sysctl_recv_burst)
 			cond_resched();
-			
-		/* FIXME: implement another way to detect end of initsync,
-		 * since this method won't work with the new I/O scheduling
-		 * model */
-#if 0
-		if (msgs_received < CT_SYNC_INITSYNC_RATE) {
-			/* We have not received more than CT_SYNC_INITSYNC_RATE
-			 * messages in the last 100 ms.  This usually means
-			 * we're not receiving initial re-synchronization
-			 * messages anymore, so if we're in state
-			 * SLAVE_SYNRECV, we transition into SLAVE_RUNNING. */
-			cts_proto_recv_running(cts_cfg.protoh);
-		}
-#endif
-
 	}
 
 error:




More information about the netfilter-cvslog mailing list