mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 08:03:01 +00:00
Removed redundant tracking (now incorporated into NdisAllocatePacket, etc)
that was causing a bugcheck in the 'ping to us' case. The memory was detected tracked twice (correctly). This condition was detected by mifritcher after I checked in. svn path=/trunk/; revision=9659
This commit is contained in:
parent
57c3c75356
commit
25ae3e20a7
2 changed files with 1 additions and 4 deletions
|
@ -91,7 +91,6 @@ PIP_PACKET PrepareICMPPacket(
|
||||||
exFreePool(DataBuffer);
|
exFreePool(DataBuffer);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
Track(NDIS_PACKET_TAG,NdisPacket);
|
|
||||||
|
|
||||||
TI_DbgPrint(MAX_TRACE, ("NdisPacket at (0x%X).\n", NdisPacket));
|
TI_DbgPrint(MAX_TRACE, ("NdisPacket at (0x%X).\n", NdisPacket));
|
||||||
|
|
||||||
|
@ -103,7 +102,6 @@ PIP_PACKET PrepareICMPPacket(
|
||||||
exFreePool(DataBuffer);
|
exFreePool(DataBuffer);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
Track(NDIS_BUFFER_TAG,NdisBuffer);
|
|
||||||
|
|
||||||
TI_DbgPrint(MAX_TRACE, ("NdisBuffer at (0x%X).\n", NdisBuffer));
|
TI_DbgPrint(MAX_TRACE, ("NdisBuffer at (0x%X).\n", NdisBuffer));
|
||||||
|
|
||||||
|
|
|
@ -63,11 +63,10 @@ VOID TrackWithTag( DWORD Tag, PVOID Thing, PCHAR FileName, DWORD LineNo ) {
|
||||||
if( ThingInList->Thing == Thing ) {
|
if( ThingInList->Thing == Thing ) {
|
||||||
RemoveEntryList(Entry);
|
RemoveEntryList(Entry);
|
||||||
|
|
||||||
|
KeReleaseSpinLock( &AllocatedObjectsLock, OldIrql );
|
||||||
ShowTrackedThing( "Alloc", ThingInList, FileName, LineNo );
|
ShowTrackedThing( "Alloc", ThingInList, FileName, LineNo );
|
||||||
|
|
||||||
ExFreePool( ThingInList );
|
ExFreePool( ThingInList );
|
||||||
TrackDumpFL( FileName, LineNo );
|
TrackDumpFL( FileName, LineNo );
|
||||||
KeReleaseSpinLock( &AllocatedObjectsLock, OldIrql );
|
|
||||||
DbgPrint("TRACK: SPECIFIED ALREADY ALLOCATED ITEM %x\n", Thing);
|
DbgPrint("TRACK: SPECIFIED ALREADY ALLOCATED ITEM %x\n", Thing);
|
||||||
KeBugCheck( 0 );
|
KeBugCheck( 0 );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue