diff options
author | Fu Siyuan <siyuan.fu@intel.com> | 2017-05-03 14:20:56 +0800 |
---|---|---|
committer | Fu Siyuan <siyuan.fu@intel.com> | 2017-05-09 08:45:21 +0800 |
commit | 2d5afbdad1bbe2663917c0b3ad06753bbf128c6c (patch) | |
tree | 0272ca0fe6e06fc3393b3190a81a17a247b0b0e1 /BaseTools/Source/Python/Ecc/FileProfile.py | |
parent | 3654c4623c9b37ddc64426995fa399d8626b7ced (diff) | |
download | edk2-2d5afbdad1bbe2663917c0b3ad06753bbf128c6c.tar.gz edk2-2d5afbdad1bbe2663917c0b3ad06753bbf128c6c.tar.bz2 edk2-2d5afbdad1bbe2663917c0b3ad06753bbf128c6c.zip |
NetworkPkg: Add wnd scale check before shrinking window.
Moving Right window edge to the left on sender side without additional check
can lead to the TCP deadlock, when receiver ACKs proper segment, while sender
discards it for future ACK. To prevent this add check if usable window (or
shrink amount in this case) is bigger then receiver's window scale factor.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Andrey Tepin <atepin@kraftway.ru>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/FileProfile.py')
0 files changed, 0 insertions, 0 deletions