]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[tcp] Truncate TCP window to prevent future packet discards
authorMichael Brown <mcb30@ipxe.org>
Sun, 8 Jul 2012 15:51:21 +0000 (16:51 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 9 Jul 2012 09:13:47 +0000 (10:13 +0100)
commita5d16a91af4219d4166cf238ff5b9a99c0db4d70
tree56712799a819006f7cf8dbb1e770710752f5e0b5
parent024247317d50ffc4c44dd041aae19ae23b72788e
[tcp] Truncate TCP window to prevent future packet discards

Whenever memory pressure causes a queued packet to be discarded (and
so retransmitted), reduce the maximum TCP window to a size that would
have prevented the discard.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/tcp.c