diff options
author | Eric Dumazet <edumazet@google.com> | 2012-04-17 01:28:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-18 04:32:00 +0200 |
commit | 4d846f02392a710f9604892ac3329e628e60a230 (patch) | |
tree | 8c8a8cd663914e546b324d0657fdfad2c8becdee /net/ipv4/ip_sockglue.c | |
parent | drivers/net/wan/farsync.c: add missing iounmap (diff) | |
download | linux-4d846f02392a710f9604892ac3329e628e60a230.tar.xz linux-4d846f02392a710f9604892ac3329e628e60a230.zip |
tcp: fix tcp_grow_window() for large incoming frames
tcp_grow_window() has to grow rcv_ssthresh up to window_clamp, allowing
sender to increase its window.
tcp_grow_window() still assumes a tcp frame is under MSS, but its no
longer true with LRO/GRO.
This patch fixes one of the performance issue we noticed with GRO on.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Neal Cardwell <ncardwell@google.com>
Cc: Tom Herbert <therbert@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_sockglue.c')
0 files changed, 0 insertions, 0 deletions