Author: cgutman
Date: Tue Jul 12 20:21:59 2011
New Revision: 52663
URL: http://svn.reactos.org/svn/reactos?rev=52663&view=rev
Log:
[IP]
- Reset the reassembly timeout when a new fragment is received
Modified:
trunk/reactos/lib/drivers/ip/network/receive.c
Modified: trunk/reactos/lib/drivers/ip/network/receive.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/ip/network/rec…
==============================================================================
--- trunk/reactos/lib/drivers/ip/network/receive.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/ip/network/receive.c [iso-8859-1] Tue Jul 12 20:21:59 2011
@@ -293,6 +293,9 @@
TI_DbgPrint(DEBUG_IP, ("Continueing assembly.\n"));
/* We have a reassembly structure */
TcpipAcquireSpinLock(&IPDR->Lock, &OldIrql);
+
+ /* Reset the timeout since we received a fragment */
+ IPDR->TimeoutCount = 0;
} else {
TI_DbgPrint(DEBUG_IP, ("Starting new assembly.\n"));