]> 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)
commitc325bfc8e4215a25e382f868f0d28b73a8620a09
tree471f0d373176ce08fdc075c8e526e38263de27b1
parent486437c99e94595024af5807855c8c504cb21434
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: 2a53c05d7fd9 ("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