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)
commit047491ea334a454fa0647ec99dadcc6dd38417e0
tree471f0d373176ce08fdc075c8e526e38263de27b1
parent28b6bfebdd2fde5e09aa830bbeb284ec96c2c0a0
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: a4dc70d46cf1 ("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