diff options
| author | Tom Molenhouse <[email protected]> | 2022-03-02 04:43:41 -0800 |
|---|---|---|
| committer | Tom Molenhouse <[email protected]> | 2022-03-02 04:43:41 -0800 |
| commit | 8d1357ef14068739c2996e3b389dcb6fa44a7271 (patch) | |
| tree | d91caf2873f13f6f54b5aaab4708b00c103329fa | |
| parent | 9f03207ae1e8df83325f067de84494ae55ab5e97 (diff) | |
Replace ExAllocatePool* with ExAllocatePool2
| -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"); |
