diff options
| author | tobafo19 <[email protected]> | 2022-03-22 14:28:27 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-03-22 14:28:27 -0500 |
| commit | 97c2e158657e80e081098c6a48b8e3360c01f2f7 (patch) | |
| tree | bd4c79c2954f92a702d1e9c3e98e386676ed1da5 /network | |
| parent | 69b7d1ff44f87fcf180d2936f6d15c3b4021da7f (diff) | |
| parent | 8d1357ef14068739c2996e3b389dcb6fa44a7271 (diff) | |
Merge pull request #695 from tmolenh/netvmini-pool
Virtual Miniport: Replace ExAllocatePool* with ExAllocatePool2
Diffstat (limited to 'network')
| -rw-r--r-- | network/ndis/netvmini/6x/rssv2.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/network/ndis/netvmini/6x/rssv2.c b/network/ndis/netvmini/6x/rssv2.c index f1785ef4..1f8efb0e 100644 --- a/network/ndis/netvmini/6x/rssv2.c +++ b/network/ndis/netvmini/6x/rssv2.c @@ -153,9 +153,9 @@ Return Value: // Allocate the neccessary memory for reading the available processors // Adapter->RSSData.RssProcessorInfo = - (PNDIS_RSS_PROCESSOR_INFO)ExAllocatePoolWithTag(NonPagedPoolNx, - RssInfoSize, - 'IRMT'); + (PNDIS_RSS_PROCESSOR_INFO)ExAllocatePool2(POOL_FLAG_NON_PAGED, + RssInfoSize, + 'IRMT'); if (Adapter->RSSData.RssProcessorInfo == NULL) { DEBUGP(MP_ERROR, "%s: Failed to allocate memory for rss information\n", __FUNCTION__); @@ -383,9 +383,9 @@ Return Value: Size = RssV2NQEnforcerGetQueueMapSize(RSSV2_MAX_NUMBER_OF_PROCESSORS_IN_RSS_TABLE); - VPort->QueueMap = (PRSSV2_QUEUE_MAP)ExAllocatePoolWithTag(NonPagedPoolNx, - Size, - 'QNMT'); + VPort->QueueMap = (PRSSV2_QUEUE_MAP)ExAllocatePool2(POOL_FLAG_NON_PAGED, + Size, + 'QNMT'); if (VPort->QueueMap == NULL) { DEBUGP(MP_TRACE, "Inisufficient memory for QueueMap processor.\n"); |
