Author: cgutman
Date: Sat Jan 16 15:59:54 2010
New Revision: 45102
URL:
http://svn.reactos.org/svn/reactos?rev=45102&view=rev
Log:
- Fix a null-pointer dereference crash that happens when we complete a queued
NDIS_REQUEST in MiniportWorker
Modified:
branches/aicom-network-branch/drivers/network/ndis/ndis/miniport.c
Modified: branches/aicom-network-branch/drivers/network/ndis/ndis/miniport.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-branch/drivers/ne…
==============================================================================
--- branches/aicom-network-branch/drivers/network/ndis/ndis/miniport.c [iso-8859-1]
(original)
+++ branches/aicom-network-branch/drivers/network/ndis/ndis/miniport.c [iso-8859-1] Sat
Jan 16 15:59:54 2010
@@ -961,13 +961,6 @@
Adapter->NdisMiniportBlock.MiniportAdapterContext,
NULL, /* FIXME */
NdisRequest);
- }
-
- if (Status != NDIS_STATUS_PENDING)
- {
- KeAcquireSpinLock(&Adapter->NdisMiniportBlock.Lock, &OldIrql);
- Adapter->NdisMiniportBlock.PendingRequest = NULL;
- KeReleaseSpinLock(&Adapter->NdisMiniportBlock.Lock, OldIrql);
}
return Status;