Thread (2 messages) 2 messages, 2 authors, 2016-09-28

Re: [PATCH v4 net-next] tcp: Change txhash on every SYN and RTO retransmit

flat view

From: David Miller <davem@davemloft.net>
Date: 2016-09-28 11:53:05

From: Lawrence Brakmo <redacted>
Date: Tue, 27 Sep 2016 19:03:37 -0700
The current code changes txhash (flowlables) on every retransmitted
SYN/ACK, but only after the 2nd retransmitted SYN and only after
tcp_retries1 RTO retransmits.

With this patch:
1) txhash is changed with every SYN retransmits
2) txhash is changed with every RTO.

The result is that we can start re-routing around failed (or very
congested paths) as soon as possible. Otherwise application health
checks may fail and the connection may be terminated before we start
to change txhash.

v4: Removed sysctl, txhash is changed for all RTOs
v3: Removed text saying default value of sysctl is 0 (it is 100)
v2: Added sysctl documentation and cleaned code

Tested with packetdrill tests

Signed-off-by: Lawrence Brakmo <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help