From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id CE2EA8205D for ; Fri, 16 Dec 2016 00:18:59 -0800 (PST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP; 16 Dec 2016 00:18:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,356,1477983600"; d="scan'208";a="798627718" Received: from sfu5-mobl3.ccr.corp.intel.com ([10.239.192.164]) by FMSMGA003.fm.intel.com with ESMTP; 16 Dec 2016 00:18:58 -0800 From: Fu Siyuan To: edk2-devel@lists.01.org Date: Fri, 16 Dec 2016 16:18:52 +0800 Message-Id: <1481876334-130492-1-git-send-email-siyuan.fu@intel.com> X-Mailer: git-send-email 2.7.4.windows.1 Subject: [Patch 0/2] Replace ASSERT with error return code in PXE and HTTP boot. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2016 08:18:59 -0000 This patch remove the ASSERT when receive a DHCP packet large than the maximum cache buffer size. Fu Siyuan (2): MdeModulePkg: Replace ASSERT with error return code in PXE driver. NetworkPkg: Replace ASSERT with error return code in PXE and HTTP boot driver. .../Universal/Network/UefiPxeBcDxe/PxeBcDhcp.c | 99 +++++++++++------ .../Universal/Network/UefiPxeBcDxe/PxeBcDhcp.h | 5 +- NetworkPkg/HttpBootDxe/HttpBootDhcp4.c | 32 +++++- NetworkPkg/HttpBootDxe/HttpBootDhcp6.c | 29 +++-- NetworkPkg/UefiPxeBcDxe/PxeBcDhcp4.c | 119 +++++++++++++++------ NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.c | 67 ++++++++---- 6 files changed, 249 insertions(+), 102 deletions(-) -- 2.7.4.windows.1