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:
Art Yerkes 2004-06-12 04:46:18 +00:00
parent 57c3c75356
commit 25ae3e20a7
2 changed files with 1 additions and 4 deletions

View file

@ -91,7 +91,6 @@ PIP_PACKET PrepareICMPPacket(
exFreePool(DataBuffer);
return NULL;
}
Track(NDIS_PACKET_TAG,NdisPacket);
TI_DbgPrint(MAX_TRACE, ("NdisPacket at (0x%X).\n", NdisPacket));
@ -103,7 +102,6 @@ PIP_PACKET PrepareICMPPacket(
exFreePool(DataBuffer);
return NULL;
}
Track(NDIS_BUFFER_TAG,NdisBuffer);
TI_DbgPrint(MAX_TRACE, ("NdisBuffer at (0x%X).\n", NdisBuffer));

View file

@ -63,11 +63,10 @@ VOID TrackWithTag( DWORD Tag, PVOID Thing, PCHAR FileName, DWORD LineNo ) {
if( ThingInList->Thing == Thing ) {
RemoveEntryList(Entry);
KeReleaseSpinLock( &AllocatedObjectsLock, OldIrql );
ShowTrackedThing( "Alloc", ThingInList, FileName, LineNo );
ExFreePool( ThingInList );
TrackDumpFL( FileName, LineNo );
KeReleaseSpinLock( &AllocatedObjectsLock, OldIrql );
DbgPrint("TRACK: SPECIFIED ALREADY ALLOCATED ITEM %x\n", Thing);
KeBugCheck( 0 );
}