StoreDisable will close and NULL the event channel, then StorePollLocked
will attempt to call EVTCHN(GetCount...) with the NULLed pointer. This
will lead to a D1 BSOD.
Signed-off-by: Owen Smith <owen.smith@citrix.com>
XENBUS_SUSPEND(Release, &Context->SuspendInterface);
- StoreDisable(Context);
(VOID) StorePollLocked(Context);
+ StoreDisable(Context);
RtlZeroMemory(&Context->Response, sizeof (XENBUS_STORE_RESPONSE));
XENBUS_EVTCHN(Release, &Context->EvtchnInterface);