/** @file\r
The implementation of a dispatch routine for processing TCP requests.\r
\r
- Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
)\r
{\r
SOCKET *Sock;\r
- TCP_PROTO_DATA *TcpProto;\r
\r
IpIoConfigIp (Tcb->IpInfo, NULL);\r
\r
Sock = Tcb->Sk;\r
- TcpProto = (TCP_PROTO_DATA *) Sock->ProtoReserved;\r
\r
if (SOCK_IS_CONFIGURED (Sock)) {\r
RemoveEntryList (&Tcb->List);\r
FreePool (Sock->DevicePath);\r
Sock->DevicePath = NULL;\r
}\r
-\r
- TcpSetVariableData (TcpProto->TcpService);\r
}\r
\r
NetbufFreeList (&Tcb->SndQue);\r