diff options
author | Priyaranjan Jha <priyarjha@google.com> | 2020-07-16 12:12:34 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-17 12:54:30 -0700 |
commit | a71d77e6be1e29ec809cc7c85d9594e7769406cd (patch) | |
tree | 72891cb1446933fa3de034a492a64d87f811cfbb /net/ipv4/proc.c | |
parent | dcc82bb0727c08f93a91fa7532b950bafa2598f2 (diff) | |
download | linux-a71d77e6be1e29ec809cc7c85d9594e7769406cd.tar.bz2 |
tcp: fix segment accounting when DSACK range covers multiple segments
Currently, while processing DSACK, we assume DSACK covers only one
segment. This leads to significant underestimation of DSACKs with
LRO/GRO. This patch fixes segment accounting with DSACK by estimating
segment count from DSACK sequence range / MSS.
Signed-off-by: Priyaranjan Jha <priyarjha@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Yousuk Seung <ysseung@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/proc.c')
0 files changed, 0 insertions, 0 deletions