]> git.proxmox.com Git - mirror_edk2.git/commit - NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.c
NetworkPkg: Replace ASSERT with error return code in PXE and HTTP boot driver.
authorFu Siyuan <siyuan.fu@intel.com>
Fri, 16 Dec 2016 07:56:42 +0000 (15:56 +0800)
committerFu Siyuan <siyuan.fu@intel.com>
Mon, 19 Dec 2016 00:54:18 +0000 (08:54 +0800)
commita35dc6499beb0b76c340379a06dff74a8d38095a
tree7b73196811eb508d3aacd6c52b01e74d029d20ea
parent471342bbefaac1c21fe7fa4e80949b552b12fbdd
NetworkPkg: Replace ASSERT with error return code in PXE and HTTP boot driver.

This patch remove the ASSERT when receive a DHCP packet large than the maximum
cache buffer size.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
NetworkPkg/HttpBootDxe/HttpBootDhcp4.c
NetworkPkg/HttpBootDxe/HttpBootDhcp6.c
NetworkPkg/UefiPxeBcDxe/PxeBcDhcp4.c
NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.c