summaryrefslogtreecommitdiff
path: root/Silicon
diff options
context:
space:
mode:
authorFu Siyuan <siyuan.fu@intel.com>2017-05-03 14:20:56 +0800
committerGuo Mang <mang.guo@intel.com>2017-07-12 11:24:38 +0800
commita5f08edfcd805384f966e594251dc37bf7e31725 (patch)
treeb125520a80869a9a70c4951ea4fc2417e190d39f /Silicon
parentdc38ac830cba15375137c846949062c20eddaf5a (diff)
downloadedk2-platforms-a5f08edfcd805384f966e594251dc37bf7e31725.tar.xz
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> (cherry picked from commit 2d5afbdad1bbe2663917c0b3ad06753bbf128c6c)
Diffstat (limited to 'Silicon')
0 files changed, 0 insertions, 0 deletions