For a KMDF-based NDIS LWF, is there anything special that needs to happen during the sleep/hibernate cycle? I notice that when systems (both Win7 and Win10) with my filter (modifying, optional) loaded resumes from a suspended state, the network connection is dead. It's not until I unload the driver does it pop back to life. My current solution is to just unload the driver when the service is notified that the system is being suspended and then reload it again when it resumes but that seems clunky. I've been trying to reproduce in a VM but everything works fine so it's difficult to figure out what the hold up is. Is there something I need to specifically handle for suspend/resume or is it more likely just causing a bug in my code to manifest itself?
It looks like you're new here. If you want to get involved, click one of these buttons!
|Upcoming OSR Seminars|
|Writing WDF Drivers||21 Oct 2019||OSR Seminar Space & ONLINE|
|Internals & Software Drivers||18 Nov 2019||Dulles, VA|
|Kernel Debugging||30 Mar 2020||OSR Seminar Space|
|Developing Minifilters||27 Apr 2020||OSR Seminar Space & ONLINE|