mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
- MINIPORT_CONFIGURATION_CONTEXT must be allocated from nonpaged pool as it contains a spinlock
svn path=/trunk/; revision=41387
This commit is contained in:
@@ -194,7 +194,7 @@ NdisOpenConfiguration(
|
||||
return;
|
||||
}
|
||||
|
||||
ConfigurationContext = ExAllocatePool(PagedPool, sizeof(MINIPORT_CONFIGURATION_CONTEXT));
|
||||
ConfigurationContext = ExAllocatePool(NonPagedPool, sizeof(MINIPORT_CONFIGURATION_CONTEXT));
|
||||
if(!ConfigurationContext)
|
||||
{
|
||||
NDIS_DbgPrint(MIN_TRACE,("Insufficient resources.\n"));
|
||||
@@ -268,7 +268,7 @@ NdisOpenProtocolConfiguration(
|
||||
return;
|
||||
}
|
||||
|
||||
ConfigurationContext = ExAllocatePool(PagedPool, sizeof(MINIPORT_CONFIGURATION_CONTEXT));
|
||||
ConfigurationContext = ExAllocatePool(NonPagedPool, sizeof(MINIPORT_CONFIGURATION_CONTEXT));
|
||||
if(!ConfigurationContext)
|
||||
{
|
||||
NDIS_DbgPrint(MIN_TRACE,("Insufficient resources.\n"));
|
||||
@@ -846,7 +846,7 @@ NdisOpenConfigurationKeyByIndex(
|
||||
return;
|
||||
}
|
||||
|
||||
ConfigurationContext = ExAllocatePool(PagedPool, sizeof(MINIPORT_CONFIGURATION_CONTEXT));
|
||||
ConfigurationContext = ExAllocatePool(NonPagedPool, sizeof(MINIPORT_CONFIGURATION_CONTEXT));
|
||||
if(!ConfigurationContext)
|
||||
{
|
||||
NDIS_DbgPrint(MIN_TRACE,("Insufficient resources.\n"));
|
||||
@@ -905,7 +905,7 @@ NdisOpenConfigurationKeyByName(
|
||||
return;
|
||||
}
|
||||
|
||||
ConfigurationContext = ExAllocatePool(PagedPool, sizeof(MINIPORT_CONFIGURATION_CONTEXT));
|
||||
ConfigurationContext = ExAllocatePool(NonPagedPool, sizeof(MINIPORT_CONFIGURATION_CONTEXT));
|
||||
if(!ConfigurationContext)
|
||||
{
|
||||
NDIS_DbgPrint(MIN_TRACE,("Insufficient resources.\n"));
|
||||
|
||||
Reference in New Issue
Block a user