diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2005-08-04 19:52:02 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-04 21:43:14 -0700 |
commit | b68e9f857271189bd7a59b74c99890de9195b0e1 (patch) | |
tree | 92ef0899ca9ff07f64458febcb7ab8095e891042 /lib | |
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions