Author: cgutman
Date: Mon Aug 1 12:41:31 2011
New Revision: 53018
URL:
http://svn.reactos.org/svn/reactos?rev=53018&view=rev
Log:
[AFD]
- Use the correct access mode
Modified:
trunk/reactos/drivers/network/afd/afd/lock.c
Modified: trunk/reactos/drivers/network/afd/afd/lock.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/afd/lo…
==============================================================================
--- trunk/reactos/drivers/network/afd/afd/lock.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/afd/afd/lock.c [iso-8859-1] Mon Aug 1 12:41:31 2011
@@ -156,7 +156,7 @@
if( MapBuf[i].Mdl ) {
AFD_DbgPrint(MID_TRACE,("Probe and lock pages\n"));
_SEH2_TRY {
- MmProbeAndLockPages( MapBuf[i].Mdl, KernelMode,
+ MmProbeAndLockPages( MapBuf[i].Mdl, UserMode,
Write ? IoModifyAccess : IoReadAccess );
} _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER) {
LockFailed = TRUE;