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 <[email protected]> --- This should be included in WinOF 2.1 Index: core/winmad/kernel/wm_reg.c =================================================================== --- core/winmad/kernel/wm_reg.c (revision 2388) +++ core/winmad/kernel/wm_reg.c (working copy) @@ -59,7 +59,7 @@ { WM_REGISTRATION *reg; - reg = ExAllocatePoolWithTag(PagedPool, sizeof(WM_REGISTRATION), 'grmw'); + reg = ExAllocatePoolWithTag(NonPagedPool, sizeof(WM_REGISTRATION), 'grmw'); if (reg == NULL) { return NULL; }
wm-reg-npp.diff
Description: Binary data
_______________________________________________ ofw mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
