[Sumover-dev] [svn commit] r4755 - vic/branches/cc/cc

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Thu Apr 1 19:18:43 BST 2010


Author: soohyunc
Date: Thu Apr  1 19:18:43 2010
New Revision: 4755

Modified:
   vic/branches/cc/cc/tfwc_sndr.cpp

Log:
-- we also need to revert to the earlier stage when TfwcSndr received an ack
that is older than AoA. this ack is already too old, therefore, we don't need to
count 3 DUPACK rule here. instead, we simply revert to the earlier history and
update cwnd accordingly with the reverted history.




Modified: vic/branches/cc/cc/tfwc_sndr.cpp
==============================================================================
--- vic/branches/cc/cc/tfwc_sndr.cpp	(original)
+++ vic/branches/cc/cc/tfwc_sndr.cpp	Thu Apr  1 19:18:43 2010
@@ -227,7 +227,13 @@
 		if(jacked_ < aoa_) {
 		  debug_msg("warning: this ack(%d) is older than AoA(%d)!\n", jacked_,aoa_);
 		  // trigger a packet out to keep Jacob's packet conservation rule
-		  packet_clocking(pb, recv_by_ch);
+		  //packet_clocking(pb, recv_by_ch);
+		  
+		  // this ack is already too old, 
+		  // so revert to the eariler history
+		  revert = revert_interval(jacked_);
+		  // then, update cwnd
+		  cwnd_in_packets(revert);
 		  return;
 		}
 		//



More information about the Sumover-dev mailing list