mirror of
https://github.com/reactos/reactos.git
synced 2024-11-09 08:08:38 +00:00
- Use MmGetSystemAddressForMdlSafe instead of MmMapLockedPages
- Noticed by Alex svn path=/branches/aicom-network-fixes/; revision=35466
This commit is contained in:
parent
717ec21981
commit
0afe589112
1 changed files with 1 additions and 2 deletions
|
@ -142,8 +142,7 @@ AfdGetSockOrPeerName( PDEVICE_OBJECT DeviceObject, PIRP Irp,
|
|||
|
||||
if( NT_SUCCESS(Status) ) {
|
||||
TransAddr =
|
||||
(PTRANSPORT_ADDRESS)MmMapLockedPages
|
||||
( Mdl, Irp->RequestorMode );
|
||||
(PTRANSPORT_ADDRESS)MmGetSystemAddressForMdlSafe( Mdl, NormalPagePriority );
|
||||
}
|
||||
|
||||
if( TransAddr )
|
||||
|
|
Loading…
Reference in a new issue