mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:02:56 +00:00
[AFD, TCPIP]
Bind issue seems solved now. Server app can be restarted without failing at binding. More information is at r52166. Patch by cgutman. svn path=/branches/GSoC_2011/TcpIpDriver/; revision=52170
This commit is contained in:
parent
c31d8d66b9
commit
2cc1ca91c8
8 changed files with 203 additions and 93 deletions
|
@ -239,6 +239,7 @@ NTSTATUS FileOpenAddress(
|
|||
PADDRESS_FILE AddrFile;
|
||||
|
||||
TI_DbgPrint(MID_TRACE, ("Called (Proto %d).\n", Protocol));
|
||||
DbgPrint("[TCPIP, FileOpenAddress] Called. Proto %d\n", Protocol);
|
||||
|
||||
AddrFile = ExAllocatePoolWithTag(NonPagedPool, sizeof(ADDRESS_FILE),
|
||||
ADDR_FILE_TAG);
|
||||
|
@ -359,6 +360,7 @@ NTSTATUS FileOpenAddress(
|
|||
&AddressFileListLock);
|
||||
|
||||
TI_DbgPrint(MAX_TRACE, ("Leaving.\n"));
|
||||
DbgPrint("[TCPIP, FileOpenAddress] Leaving\n");
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
@ -377,6 +379,8 @@ NTSTATUS FileCloseAddress(
|
|||
PADDRESS_FILE AddrFile = Request->Handle.AddressHandle;
|
||||
KIRQL OldIrql;
|
||||
|
||||
DbgPrint("[TCPIP, FileCloseAddress] Called\n");
|
||||
|
||||
if (!Request->Handle.AddressHandle) return STATUS_INVALID_PARAMETER;
|
||||
|
||||
LockObject(AddrFile, &OldIrql);
|
||||
|
@ -393,6 +397,7 @@ NTSTATUS FileCloseAddress(
|
|||
DereferenceObject(AddrFile);
|
||||
|
||||
TI_DbgPrint(MAX_TRACE, ("Leaving.\n"));
|
||||
DbgPrint("[TCPIP, FileCloseAddress] Leaving\n");
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue