/** @file\r
The implementation of the ARP protocol.\r
\r
-Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR>\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
//\r
// Restart the receiving if packet size is not correct.\r
//\r
- goto RESTART_RECEIVE;\r
+ goto RECYCLE_RXDATA;\r
}\r
\r
//\r
Head->OpCode = NTOHS (Head->OpCode);\r
\r
if (RxData->DataLength < (sizeof (ARP_HEAD) + 2 * Head->HwAddrLen + 2 * Head->ProtoAddrLen)) {\r
- goto RESTART_RECEIVE;\r
+ goto RECYCLE_RXDATA;\r
}\r
\r
if ((Head->HwType != ArpService->SnpMode.IfType) ||\r