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)
commit6a6b5c8bff89c76b09a921ef05b042fdee940f2a
treeae40dc030f1726f75b5386ae6f4709859b9364f7
parent9ed68ca0d90b53ba00745cb61ef105599532226f
tipc: include retrans failure detection for unicast

In patch series, commit 9195948fbf34 ("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