diff options
author | Eric Dumazet <edumazet@google.com> | 2012-04-16 23:28:07 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-27 09:51:21 -0700 |
commit | 6a0e69cea2ec1499224067989470d3c929dbd67e (patch) | |
tree | 9bdce2a2f7e4e5d9604421bbd9742e0b0266ff78 /net/core/net_namespace.c | |
parent | 3286761923475d1b4a943e65a1dadda1caee7723 (diff) | |
download | kernel_samsung_smdk4412-6a0e69cea2ec1499224067989470d3c929dbd67e.zip kernel_samsung_smdk4412-6a0e69cea2ec1499224067989470d3c929dbd67e.tar.gz kernel_samsung_smdk4412-6a0e69cea2ec1499224067989470d3c929dbd67e.tar.bz2 |
tcp: fix tcp_grow_window() for large incoming frames
[ Upstream commit 4d846f02392a710f9604892ac3329e628e60a230 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/core/net_namespace.c')
0 files changed, 0 insertions, 0 deletions