Author: cgutman
Date: Thu Sep 18 19:40:13 2008
New Revision: 36308
URL:
http://svn.reactos.org/svn/reactos?rev=36308&view=rev
Log:
- Only continue sending fragments if the last one succeeded
Modified:
branches/aicom-network-fixes/lib/drivers/ip/network/transmit.c
Modified: branches/aicom-network-fixes/lib/drivers/ip/network/transmit.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/lib/drivers…
==============================================================================
--- branches/aicom-network-fixes/lib/drivers/ip/network/transmit.c [iso-8859-1]
(original)
+++ branches/aicom-network-fixes/lib/drivers/ip/network/transmit.c [iso-8859-1] Thu Sep 18
19:40:13 2008
@@ -34,10 +34,7 @@
("Called. Context (0x%X) NdisPacket (0x%X) NdisStatus (0x%X)\n",
Context, NdisPacket, NdisStatus));
- /* FIXME: Stop sending fragments and cleanup datagram buffers if
- there was an error */
-
- if (PrepareNextFragment(IFC)) {
+ if (NT_SUCCESS(NdisStatus) && PrepareNextFragment(IFC)) {
/* A fragment was prepared for transmission, so send it */
IPSendFragment(IFC->NdisPacket, IFC->NCE, IFC);
} else {