aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorLawrence Brakmo <[email protected]>2016-09-28 02:03:37 +0000
committerDavid S. Miller <[email protected]>2016-09-28 11:52:34 +0000
commit3acf3ec3f4b0fd4263989f2e4227bbd1c42b5fe1 (patch)
treecdc67656dc5d6ea9bc76ed3e2cd80b3614065d8d /net/switchdev/switchdev.c
parentnet/sched: pkt_cls: change tc actions order to be as the user sets (diff)
downloadkernel-3acf3ec3f4b0fd4263989f2e4227bbd1c42b5fe1.tar.gz
kernel-3acf3ec3f4b0fd4263989f2e4227bbd1c42b5fe1.zip
tcp: Change txhash on every SYN and RTO retransmit
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions