Author: cgutman
Date: Sat Sep 6 15:42:10 2008
New Revision: 36003
URL:
http://svn.reactos.org/svn/reactos?rev=36003&view=rev
Log:
- Use NewBuf instead of Data so we actually use the buffer we allocate
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 15:42:10 2008
@@ -323,7 +323,7 @@
RtlCopyMemory( NewBuf, Data, Length );
} else NewBuf = Data;
- NdisAllocateBuffer( &Status, &Buffer, GlobalBufferPool, Data, Length );
+ NdisAllocateBuffer( &Status, &Buffer, GlobalBufferPool, NewBuf, Length );
if( Status != NDIS_STATUS_SUCCESS ) return Status;
NdisChainBufferAtFront( Packet, Buffer );