[ros-diffs] [cgutman] 36003: - Use NewBuf instead of Data so we actually use the buffer we allocate
cgutman at svn.reactos.org
cgutman at svn.reactos.org
Sat Sep 6 22:42:11 CEST 2008
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/network/tcpip/tcpip/buffer.c?rev=36003&r1=36002&r2=36003&view=diff
==============================================================================
--- 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 );
More information about the Ros-diffs
mailing list