Author: cgutman
Date: Sat Oct 25 12:50:53 2008
New Revision: 36959
URL:
http://svn.reactos.org/svn/reactos?rev=36959&view=rev
Log:
- Return if we aren't connected
Modified:
branches/aicom-network-fixes/lib/drivers/ip/network/neighbor.c
Modified: branches/aicom-network-fixes/lib/drivers/ip/network/neighbor.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/lib/drivers…
==============================================================================
--- branches/aicom-network-fixes/lib/drivers/ip/network/neighbor.c [iso-8859-1]
(original)
+++ branches/aicom-network-fixes/lib/drivers/ip/network/neighbor.c [iso-8859-1] Sat Oct 25
12:50:53 2008
@@ -28,6 +28,9 @@
VOID NBSendPackets( PNEIGHBOR_CACHE_ENTRY NCE ) {
PLIST_ENTRY PacketEntry;
PNEIGHBOR_PACKET Packet;
+
+ if(!(NCE->State & NUD_CONNECTED))
+ return;
/* Send any waiting packets */
PacketEntry = ExInterlockedRemoveHeadList(&NCE->PacketQueue,