]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: set link tolerance correctly in broadcast link
authorJon Maloy <jon.maloy@ericsson.com>
Wed, 10 Oct 2018 15:34:01 +0000 (17:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2018 05:56:07 +0000 (22:56 -0700)
commit3c1be64c7492056db73be4e253936d3d052cc31b
tree471f0d373176ce08fdc075c8e526e38263de27b1
parent3a45a0c4f31a9826bd90618ad971f4111379cbc0
tipc: set link tolerance correctly in broadcast link

In the patch referred to below we added link tolerance as an additional
criteria for declaring broadcast transmission "stale" and resetting the
affected links.

However, the 'tolerance' field of the broadcast link is never set, and
remains at zero. This renders the whole commit without the intended
improving effect, but luckily also with no negative effect.

In this commit we add the missing initialization.

Fixes: f0af99ef1f8a ("tipc: extend link reset criteria for stale packet retransmission")
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.c