mirror of
https://github.com/utmapp/edk2.git
synced 2026-12-01 14:00:40 -10:00
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 <[email protected]> Cc: Siyuan Fu <[email protected]> Cc: Jiaxin Wu <[email protected]> Signed-off-by: Shenglei Zhang <[email protected]> Reviewed-by: Maciej Rabeda <[email protected]> Reviewed-by: Philippe Mathieu-Daude <[email protected]>