summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2010-11-17 03:28:28 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2010-11-17 03:28:28 +0000
commit8363c46f4c64943e6c54b53e6ba18628d3c171ed (patch)
tree93412eb515802c43fbe50eac8bbc36c0ed1dcd5e /MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c
parent4d31c5205b738b17876ac8ca9ad8081cbda8980a (diff)
downloadedk2-8363c46f4c64943e6c54b53e6ba18628d3c171ed.tar.gz
edk2-8363c46f4c64943e6c54b53e6ba18628d3c171ed.tar.bz2
edk2-8363c46f4c64943e6c54b53e6ba18628d3c171ed.zip
sync patch r10831 from main trunk.
The patch acknowledges the TCP zero window probe message, either the format with 1 byte new data, or no new data. It also increases exponentially the interval between successive probes when performing TCP zero window probe. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2008@11070 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c')
-rw-r--r--MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c
index 956385a914..360e9c7284 100644
--- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c
+++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Output.c
@@ -1,7 +1,7 @@
/** @file
TCP output process routines.
-Copyright (c) 2005 - 2009, Intel Corporation<BR>
+Copyright (c) 2005 - 2010, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -267,7 +267,9 @@ SetPersistTimer:
Tcb)
);
- TcpSetProbeTimer (Tcb);
+ if (!Tcb->ProbeTimerOn) {
+ TcpSetProbeTimer (Tcb);
+ }
}
return 0;