commit | b68e9f857271189bd7a59b74c99890de9195b0e1 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Thu Aug 04 19:52:02 2005 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Thu Aug 04 21:43:14 2005 -0700 |
tree | 92ef0899ca9ff07f64458febcb7ab8095e891042 | |
parent | 846998ae87a80b0fd45b4cf5cf001a159d746f27 [diff] |
[PATCH] tcp: fix TSO cwnd caching bug tcp_write_xmit caches the cwnd value indirectly in cwnd_quota. When tcp_transmit_skb reduces the cwnd because of tcp_enter_cwr, the cached value becomes invalid. This patch ensures that the cwnd value is always reread after each tcp_transmit_skb call. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>