Author: cgutman Date: Wed Aug 5 09:52:15 2009 New Revision: 42404
URL: http://svn.reactos.org/svn/reactos?rev=42404&view=rev Log: - Fix a bug in TDI_TRANSPORT_ADDRESS_FILE handling - Remove some dead code
Modified: trunk/reactos/drivers/network/tcpip/tcpip/dispatch.c
Modified: trunk/reactos/drivers/network/tcpip/tcpip/dispatch.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/tcpip... ============================================================================== --- trunk/reactos/drivers/network/tcpip/tcpip/dispatch.c [iso-8859-1] (original) +++ trunk/reactos/drivers/network/tcpip/tcpip/dispatch.c [iso-8859-1] Wed Aug 5 09:52:15 2009 @@ -716,15 +716,6 @@ TcpipRecursiveMutexLeave(&TCPLock); return STATUS_INVALID_PARAMETER; } - - if (!AddrFile) { - TI_DbgPrint(MID_TRACE, ("No address file object.\n")); - TcpipRecursiveMutexLeave(&TCPLock); - return STATUS_INVALID_PARAMETER; - } - - TcpipRecursiveMutexLeave(&TCPLock); - return STATUS_SUCCESS; }
case TDI_QUERY_CONNECTION_INFO: @@ -747,6 +738,7 @@ switch ((ULONG)IrpSp->FileObject->FsContext2) { case TDI_TRANSPORT_ADDRESS_FILE: AddrFile = (PADDRESS_FILE)TranContext->Handle.AddressHandle; + Endpoint = AddrFile ? AddrFile->Connection : NULL; break;
case TDI_CONNECTION_FILE: