summaryrefslogtreecommitdiff
path: root/src/ipcpd/unicast/pff/alternate.c
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2022-04-03 12:01:20 +0200
committerSander Vrijders <[email protected]>2022-04-03 18:01:02 +0200
commit783d3adfdb0a074ae7a6e0dd37fe8efaf7e2b39a (patch)
tree6a57ba7ac8bcb16e1c690b9e0db0613aa4a5d834 /src/ipcpd/unicast/pff/alternate.c
parent8f6985bb6dc919408f57ac4cafa8e7a04f917f5d (diff)
downloadouroboros-783d3adfdb0a074ae7a6e0dd37fe8efaf7e2b39a.tar.gz
ouroboros-783d3adfdb0a074ae7a6e0dd37fe8efaf7e2b39a.zip
lib: Fix RTO update on timeout
This fixes the RTO doubling on timeout according to Karn/Partridge. Exponentially increasing RTO when it times out (e.g. doubling) fixes the problem that a sudden increase in real RTT starves the sRTT updates by never getting out of backoff as retransmitted packets can't update RTT. Added an parameter to make it less aggressive, default is doubling. Signed-off-by: Dimitri Staessens <[email protected]> Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/ipcpd/unicast/pff/alternate.c')
0 files changed, 0 insertions, 0 deletions