Why NdisAllocateCloneNetBufferList is not incrementing ChildRefCount member of source NBL and not changing ParentNetBufferList of destination NBL. It remains 0 after NdisAllocateCloneNetBufferList.
What typically must I do after cloning.
Is there any flag, that specifies MDL as shared between two NBLs (original and cloned) .
Thanks.
When I uninstall my driver, its hangs up. When I close the receive and return (doing bypass), its successfully uninstalling. So the problem is in receive path. I think it is because of clone.
freezing occurs in NdisFDeregisterFilterDriver, when I try to uninstall the driver. Some NBLs may not have been sent or received
When I uninstall my driver, its hangs up … How can I study this problem with windbg.
You attach a debugger and press Ctrl-Break to freeze the system when it hangs. Now you should be about to examine each CPU and see which one is handling shutdown.