summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svc.c
diff options
context:
space:
mode:
authorEric Dumazet2014-04-21 02:58:17 +0200
committerDavid S. Miller2014-04-23 03:27:57 +0200
commit1f3279ae0c13cd742731726b0ed195d5f09b14e4 (patch)
tree48cabf2c099db7586abdbf22ac92c1bcb2e1cb89 /net/sunrpc/svc.c
parentipv6: support IFA_F_MANAGETEMPADDR for address deletion too (diff)
downloadkernel-qcow2-linux-1f3279ae0c13cd742731726b0ed195d5f09b14e4.tar.gz
kernel-qcow2-linux-1f3279ae0c13cd742731726b0ed195d5f09b14e4.tar.xz
kernel-qcow2-linux-1f3279ae0c13cd742731726b0ed195d5f09b14e4.zip
tcp: avoid retransmits of TCP packets hanging in host queues
In commit 0e280af026a5 ("tcp: introduce TCPSpuriousRtxHostQueues SNMP counter") we added a logic to detect when a packet was retransmitted while the prior clone was still in a qdisc or driver queue. We are now confident we can do better, and catch the problem before we fragment a TSO packet before retransmit, or in TLP path. This patch fully exploits the logic by simply canceling the spurious retransmit. Original packet is in a queue and will eventually leave the host. This helps to avoid network collapses when some events make the RTO estimations very wrong, particularly when dealing with huge number of sockets with synchronized blast. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Neal Cardwell <ncardwell@google.com> Signed-off-by: Yuchung Cheng <ycheng@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sunrpc/svc.c')
0 files changed, 0 insertions, 0 deletions