Author: cgutman
Date: Sat Sep 13 07:45:26 2008
New Revision: 36186
URL:
http://svn.reactos.org/svn/reactos?rev=36186&view=rev
Log:
- Hints from MSDN show that we should use MmGetSystemAddressForMdl instead of
MmGetMdlVirtualAddress
Modified:
branches/aicom-network-fixes/drivers/network/ndis/ndis/buffer.c
Modified: branches/aicom-network-fixes/drivers/network/ndis/ndis/buffer.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/ndis/ndis/buffer.c [iso-8859-1]
(original)
+++ branches/aicom-network-fixes/drivers/network/ndis/ndis/buffer.c [iso-8859-1] Sat Sep
13 07:45:26 2008
@@ -894,7 +894,7 @@
if (Buffer != NULL) {
*_FirstBufferLength = MmGetMdlByteCount(Buffer);
- *_FirstBufferVA = MmGetMdlVirtualAddress(Buffer);
+ *_FirstBufferVA = MmGetSystemAddressForMdl(Buffer);
Buffer = Buffer->Next;
} else {
*_FirstBufferLength = 0;