Author: cgutman
Date: Sat Sep 6 16:45:23 2008
New Revision: 36009
URL:
http://svn.reactos.org/svn/reactos?rev=36009&view=rev
Log:
- Return NDIS_STATUS_RESOURCES not NDIS_STATUS_NOT_ACCEPTED when we fail to allocate
memory
Modified:
branches/aicom-network-fixes/drivers/network/tcpip/tcpip/buffer.c
Modified: branches/aicom-network-fixes/drivers/network/tcpip/tcpip/buffer.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/tcpip/tcpip/buffer.c [iso-8859-1]
(original)
+++ branches/aicom-network-fixes/drivers/network/tcpip/tcpip/buffer.c [iso-8859-1] Sat Sep
6 16:45:23 2008
@@ -351,7 +351,7 @@
PCHAR NewData;
NewData = ExAllocatePool( NonPagedPool, Len );
- if( !NewData ) return NDIS_STATUS_NOT_ACCEPTED; // XXX
+ if( !NewData ) return NDIS_STATUS_RESOURCES;
TrackWithTag(EXALLOC_TAG, NewData, File, Line);
if( Data ) RtlCopyMemory(NewData, Data, Len);