Reply To: BSOD in afd!AfdBReceiveEventHandler

Home Forums Discussions General Discussion BSOD in afd!AfdBReceiveEventHandler Reply To: BSOD in afd!AfdBReceiveEventHandler

#6454

Deneb
Participant

Hello,

after some more kernel debugging and research, I found out that IRP_MJ_CLOSE is a better place to delete all resources allocated for a PFILE_OBJECT than IRP_MJ_CLEANUP. I was deleting all resources allocated for a PFILE_OBJECT on IRP_MJ_CLEANUP, as inspired from tdi_fw sample. Can someone tell me his opinion on this?