tipc: fix stale links after re-enabling bearer
authorParthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Thu, 21 Apr 2016 13:51:13 +0000 (15:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Apr 2016 18:35:07 +0000 (14:35 -0400)
commit8cee83dd29dea4e7d27fda3b170381059f628868
tree3beb81a501e12e7baed9767bc01965ab1dcb3940
parent6a74c1965ac8128da5feadccf739456c6586ad91
tipc: fix stale links after re-enabling bearer

Commit 42b18f605fea ("tipc: refactor function tipc_link_timeout()"),
introduced a bug which prevents sending of probe messages during
link synchronization phase. This leads to hanging links, if the
bearer is disabled/enabled after links are up.

In this commit, we send the probe messages correctly.

Fixes: 42b18f605fea ("tipc: refactor function tipc_link_timeout()")
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.c