mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 18:35:32 +00:00
- Fix a null-pointer dereference crash that happens when we complete a queued NDIS_REQUEST in MiniportWorker
svn path=/branches/aicom-network-branch/; revision=45102
This commit is contained in:
parent
58f686f670
commit
3a3d5b8571
|
@ -963,13 +963,6 @@ MiniDoRequest(
|
|||
NdisRequest);
|
||||
}
|
||||
|
||||
if (Status != NDIS_STATUS_PENDING)
|
||||
{
|
||||
KeAcquireSpinLock(&Adapter->NdisMiniportBlock.Lock, &OldIrql);
|
||||
Adapter->NdisMiniportBlock.PendingRequest = NULL;
|
||||
KeReleaseSpinLock(&Adapter->NdisMiniportBlock.Lock, OldIrql);
|
||||
}
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue