]> 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)
commit786e4b852c2c2cb93b5b9bf6fc2fda09ec89cefa
treeae40dc030f1726f75b5386ae6f4709859b9364f7
parent9db80376f0102b725537275107d187a784b91b74
tipc: include retrans failure detection for unicast

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