]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: include retrans failure detection for unicast
authorTuong Lien <tuong.t.lien@dektech.com.au>
Mon, 17 Jun 2019 05:15:42 +0000 (12:15 +0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jun 2019 20:27:32 +0000 (13:27 -0700)
commitdafeaa84e02eac298c27443fa825dc4b060ff22a
treeae40dc030f1726f75b5386ae6f4709859b9364f7
parent470f345ffda2b4e0a06b702beac5982ee87ded06
tipc: include retrans failure detection for unicast

In patch series, commit 6cee090cd3fa ("tipc: improve TIPC throughput by
Gap ACK blocks"), as for simplicity, the repeated retransmit failures'
detection in the function - "tipc_link_retrans()" was kept there for
broadcast retransmissions only.

This commit now reapplies this feature for link unicast retransmissions
that has been done via the function - "tipc_link_advance_transmq()".

Also, the "tipc_link_retrans()" is renamed to "tipc_link_bc_retrans()"
as it is used only for broadcast.

Acked-by: Jon Maloy <jon.maloy@ericsson.se>
Signed-off-by: Tuong Lien <tuong.t.lien@dektech.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.c