Apparently data structures that are accessed from within MAD callbacks must be
allocated from NonPagedPool. Allocated the WM_REGISTRATION structure from non
paged pool.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2403
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
{\r
WM_REGISTRATION *reg;\r
\r
- reg = ExAllocatePoolWithTag(PagedPool, sizeof(WM_REGISTRATION), 'grmw');\r
+ reg = ExAllocatePoolWithTag(NonPagedPool, sizeof(WM_REGISTRATION), 'grmw');\r
if (reg == NULL) {\r
return NULL;\r
}\r