- Use MmGetSystemAddressForMdlSafe instead of MmMapLockedPages

- Noticed by Alex

svn path=/branches/aicom-network-fixes/; revision=35466
This commit is contained in:
Cameron Gutman 2008-08-19 23:44:11 +00:00
parent 717ec21981
commit 0afe589112

View file

@ -142,8 +142,7 @@ AfdGetSockOrPeerName( PDEVICE_OBJECT DeviceObject, PIRP Irp,
if( NT_SUCCESS(Status) ) { if( NT_SUCCESS(Status) ) {
TransAddr = TransAddr =
(PTRANSPORT_ADDRESS)MmMapLockedPages (PTRANSPORT_ADDRESS)MmGetSystemAddressForMdlSafe( Mdl, NormalPagePriority );
( Mdl, Irp->RequestorMode );
} }
if( TransAddr ) if( TransAddr )