audk/NetworkPkg/Library
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
..
DxeDpcLib NetworkPkg: Move Dpc.h from MdeModulePkg to NetworkPkg 2019-08-15 16:42:43 +08:00
DxeHttpLib NetworkPkg/Library: Fix various typos 2020-02-10 22:30:07 +00:00
DxeIpIoLib NetworkPkg/Library: Fix various typos 2020-02-10 22:30:07 +00:00
DxeNetLib NetworkPkg/DxeNetLib: Change the order of conditions in IF statement 2020-05-20 12:44:43 +00:00
DxeTcpIoLib NetworkPkg/Library: Fix various typos 2020-02-10 22:30:07 +00:00
DxeUdpIoLib NetworkPkg/Library: Fix various typos 2020-02-10 22:30:07 +00:00