]> 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)
commit55212a0b8715c1328e82ed1f59d97a62acf5a6e1
tree809e7902f006dbecbd37a6f666325870930118a1
parent60beea0116cae6f0a71e4b9c5adbf5b5dd45e3ff
tipc: simplify stale link failure criteria

In commit 2a53c05d7fd9 ("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