Thread (5 messages) flat view 5 messages, 3 authors, 2010-02-22

Re: [PATCH][v4] tcp: fix ICMP-RTO war

From: David Miller <davem@davemloft.net>
Date: 2010-02-10 19:08:28

From: Damian Lukowski <redacted>
Date: Wed, 10 Feb 2010 20:06:42 +0100
Make sure, that TCP has a nonzero RTT estimation after three-way
handshake. Currently, a listening TCP has a value of 0 for srtt,
rttvar and rto right after the three-way handshake is completed
with TCP timestamps disabled.
This will lead to corrupt RTO recalculation and retransmission
flood when RTO is recalculated on backoff reversion as introduced
in "Revert RTO on ICMP destination unreachable"
(f1ecd5d9e7366609d640ff4040304ea197fbc618).
This behaviour can be provoked by connecting to a server which
"responds first" (like SMTP) and rejecting every packet after
the handshake with dest-unreachable, which will lead to softirq
load on the server (up to 30% per socket in some tests).

Thanks to Ilpo Jarvinen for providing debug patches and to
Denys Fedoryshchenko for reporting and testing.

Changes since v3: Removed bad characters in patchfile.

Reported-by: Denys Fedoryshchenko <redacted>
Signed-off-by: Damian Lukowski <redacted>
Thanks for doing this work, I'll study these issues
and review this patch today.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help