diff options
author | Jon Paul Maloy <jon.maloy@ericsson.com> | 2015-05-14 17:46:12 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-14 19:24:45 +0300 |
commit | 75b44b018eb086fb461aa0351d2ecb1eba684302 (patch) | |
tree | 4fed4de208c341319c91bf535e597b9132f7fa5a /net/tipc/node.h | |
parent | b1c29f6b10d5981c89d3ea9b9991ca97141ed6d0 (diff) | |
download | linux-75b44b018eb086fb461aa0351d2ecb1eba684302.tar.xz |
tipc: simplify link timer handling
Prior to this commit, the link timer has been running at a "continuity
interval" of configured link tolerance/4. When a timer wakes up and
discovers that there has been no sign of life from the peer during the
previous interval, it divides its own timer interval by another factor
four, and starts sending one probe per new interval. When the configured
link tolerance time has passed without answer, i.e. after 16 unacked
probes, the link is declared faulty and reset.
This is unnecessary complex. It is sufficient to continue with the
original continuity interval, and instead reset the link after four
missed probe responses. This makes the timer handling in the link
simpler, and opens up for some planned later changes in this area.
This commit implements this change.
Reviewed-by: Richard Alpe <richard.alpe@ericsson.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/node.h')
0 files changed, 0 insertions, 0 deletions