audk/NetworkPkg
Zhang, Shenglei d3733188a2 NetworkPkg/DxeNetLib: Change the order of conditions in IF statement
The condition, NET_HEADSPACE(&(Nbuf->BlockOp[Index])) < Len, is
meaningless if Index = 0. So checking 'Index != 0' should be
performed first in the if statement.

Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
2020-05-20 12:44:43 +00:00
..
Application/VConfig
ArpDxe
Dhcp4Dxe
Dhcp6Dxe
DnsDxe
DpcDxe
HttpBootDxe NetworkPkg/HttpBootDxe: Add RISC-V architecture for EDK2 CI. 2020-04-03 17:09:12 +00:00
HttpDxe
HttpUtilitiesDxe
IScsiDxe NetworkPkg/IScsiDxe: Enhance the check for array boundary 2020-04-26 06:20:32 +00:00
Include
Ip4Dxe
Ip6Dxe NetworkPkg/Ip6Dxe: Validate source data record length 2020-04-17 17:34:33 +00:00
Library NetworkPkg/DxeNetLib: Change the order of conditions in IF statement 2020-05-20 12:44:43 +00:00
MnpDxe
Mtftp4Dxe
Mtftp6Dxe
SnpDxe NetworkPkg/SnpDxe: Prevent invalid PCI BAR access 2020-04-17 17:34:33 +00:00
TcpDxe
TlsAuthConfigDxe NetworkPkg/TlsAuthConfigDxe: Use HiiPopUp() instead of CreatePopUp() 2020-04-17 17:34:33 +00:00
TlsDxe
Udp4Dxe
Udp6Dxe
UefiPxeBcDxe NetworkPkg/UefiPxeBcDxe: handle competing DHCP servers (more) gracefully 2020-04-01 14:12:09 +00:00
VlanConfigDxe
WifiConnectionManagerDxe
Network.dsc.inc NetworkPkg: Add RISCV64 architecture 2020-05-07 03:17:15 +00:00
Network.fdf.inc
NetworkComponents.dsc.inc
NetworkDefines.dsc.inc
NetworkLibs.dsc.inc
NetworkPcds.dsc.inc
NetworkPkg.ci.yaml
NetworkPkg.dec
NetworkPkg.dsc NetworkPkg: Add RISC-V architecture for EDK2 CI. 2020-04-03 17:09:12 +00:00
NetworkPkg.uni
NetworkPkgExtra.uni