]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: simplify stale link failure criteria
authorJon Maloy <jon.maloy@ericsson.com>
Tue, 25 Jun 2019 15:36:43 +0000 (17:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jun 2019 20:28:57 +0000 (13:28 -0700)
commit6651cc6130d4c03937b71ee9c545846d635d27ef
tree809e7902f006dbecbd37a6f666325870930118a1
parentf893bfa56fdabb084d8eeec2a00f185f2feb1162
tipc: simplify stale link failure criteria

In commit f0af99ef1f8a ("tipc: extend link reset criteria for stale
packet retransmission") we made link retransmission failure events
dependent on the link tolerance, and not only of the number of failed
retransmission attempts, as we did earlier. This works well. However,
keeping the original, additional criteria of 99 failed retransmissions
is now redundant, and may in some cases lead to failure detection
times in the order of minutes instead of the expected 1.5 sec link
tolerance value.

We now remove this criteria altogether.

Acked-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>
net/tipc/link.c