Author: cgutman
Date: Tue Aug 19 18:44:11 2008
New Revision: 35466
URL:
http://svn.reactos.org/svn/reactos?rev=35466&view=rev
Log:
- Use MmGetSystemAddressForMdlSafe instead of MmMapLockedPages
- Noticed by Alex
Modified:
branches/aicom-network-fixes/drivers/network/afd/afd/info.c
Modified: branches/aicom-network-fixes/drivers/network/afd/afd/info.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/afd/afd/info.c [iso-8859-1] (original)
+++ branches/aicom-network-fixes/drivers/network/afd/afd/info.c [iso-8859-1] Tue Aug 19
18:44:11 2008
@@ -142,8 +142,7 @@
if( NT_SUCCESS(Status) ) {
TransAddr =
- (PTRANSPORT_ADDRESS)MmMapLockedPages
- ( Mdl, Irp->RequestorMode );
+ (PTRANSPORT_ADDRESS)MmGetSystemAddressForMdlSafe( Mdl,
NormalPagePriority );
}
if( TransAddr )