For Tdi GURUS : Client in User Context...........

Hi,

I am developing Kernel socket library as my BE project…
There is a user space application which send requests to my kernel space
driver, which connects to a remote client (Using our library)…
If the processing is done in a system thread, Then it works well…
But if done in user context…Then on closing the user space application a
breakpoint is invoked and a page fault occurs…

I think the problem is in closing Transport address and connection
endpoint handles.
Is there any method to just mark the handles invalid rather than closing
them …

regards
vijender